Skip to content

Commit 0005933

Browse files
author
{cocoide}
committed
Refactor loadenv.go file
1 parent 6d901b0 commit 0005933

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

util/loadenv.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import (
66
"github.com/joho/godotenv"
77
)
88

9+
// Viperを導入したらgodotenvのコードは削除する
910
func LoadEnv() {
1011
err := godotenv.Load(".env")
1112
if err != nil {
1213
log.Printf("failed to load .env file: %v" + err.Error())
1314
} else {
14-
log.Print("success to load .env file")
15+
// log.Print("success to load .env file")
1516
}
1617
}

0 commit comments

Comments
 (0)