chibisafe_netstorage_middleman : remove unused dependencies

This commit is contained in:
minoplhy 2024-04-10 00:43:40 +07:00
parent 279989fc90
commit 62a93be0fb
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF
2 changed files with 0 additions and 8 deletions

2
go.sum
View File

@ -1,2 +0,0 @@
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=

View File

@ -7,7 +7,6 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/joho/godotenv"
"github.com/minoplhy/chibisafe_netstorage_middleman/src/handler" "github.com/minoplhy/chibisafe_netstorage_middleman/src/handler"
) )
@ -92,11 +91,6 @@ func uploadHandler(w http.ResponseWriter, r *http.Request) {
} }
func main() { func main() {
err := godotenv.Load()
if err != nil {
log.Fatal("Cannot load .env file!")
}
Chibisafe_basepath := os.Getenv("CHIBISAFE_BASEPATH") Chibisafe_basepath := os.Getenv("CHIBISAFE_BASEPATH")
Host := os.Getenv("HOST") Host := os.Getenv("HOST")