Skip to content

Commit

Permalink
Update config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy authored Sep 7, 2024
1 parent f84aa35 commit 37894d1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"os"
"strconv"
"strings"

"github.com/joho/godotenv"
)

type Config struct {
Expand Down Expand Up @@ -48,10 +46,6 @@ type LoggerConfig struct {
}

func LoadConfig() (*Config, error) {
if err := godotenv.Load(); err != nil {
return nil, err
}

maxSizeStr := os.Getenv("LOG_MAX_SIZE")
maxSize, err := strconv.Atoi(maxSizeStr)
if err != nil {
Expand Down

0 comments on commit 37894d1

Please sign in to comment.