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

Function Get

config/config.go:168–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166}
167
168func Get() (*Config, error) {
169 c := New()
170 if err := c.ReadKiteKey(); err != nil {
171 return nil, err
172 }
173 if err := c.ReadEnvironmentVariables(); err != nil {
174 return nil, err
175 }
176 return c, nil
177}
178
179func MustGet() *Config {
180 c, err := Get()

Callers 1

MustGetFunction · 0.85

Calls 3

ReadKiteKeyMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected