MCPcopy Index your code
hub / github.com/koding/kite / MustGet

Function MustGet

config/config.go:179–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177}
178
179func MustGet() *Config {
180 c, err := Get()
181 if err != nil {
182 fmt.Printf("Cannot read kite.key: %s\n", err.Error())
183 os.Exit(1)
184 }
185 return c
186}
187
188func (c *Config) ReadEnvironmentVariables() error {
189 var err error

Callers

nothing calls this directly

Calls 2

GetFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected