MCPcopy Create free account
hub / github.com/TomDoesTech/GOTTH / MustLoadConfig

Function MustLoadConfig

internal/config/config.go:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func MustLoadConfig() *Config {
21 cfg, err := loadConfig()
22 if err != nil {
23 panic(err)
24 }
25 return cfg
26}

Callers 1

mainFunction · 0.92

Calls 1

loadConfigFunction · 0.85

Tested by

no test coverage detected