Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
func
LoadConfig(v validator.Validator) *env.Env {
11
log.SetDefaultLogger()
12
time.SetServerTimeZone()
13
14
return
env.NewEnv(v)
15
}
Callers
3
init
Function · 0.92
newLoginUseCase
Function · 0.92
main
Function · 0.92
Calls
3
SetDefaultLogger
Function · 0.92
SetServerTimeZone
Function · 0.92
NewEnv
Function · 0.92
Tested by
1
newLoginUseCase
Function · 0.74