MCPcopy Create free account
hub / github.com/danielmesquitta/flight-api / LoadConfig

Function LoadConfig

internal/config/config.go:10–15  ·  view source on GitHub ↗
(v validator.Validator)

Source from the content-addressed store, hash-verified

8)
9
10func LoadConfig(v validator.Validator) *env.Env {
11 log.SetDefaultLogger()
12 time.SetServerTimeZone()
13
14 return env.NewEnv(v)
15}

Callers 3

initFunction · 0.92
newLoginUseCaseFunction · 0.92
mainFunction · 0.92

Calls 3

SetDefaultLoggerFunction · 0.92
SetServerTimeZoneFunction · 0.92
NewEnvFunction · 0.92

Tested by 1

newLoginUseCaseFunction · 0.74