MustLoadConfiguration same as LoadConfiguration package-level function but it panics on error.
(filename string)
| 195 | // MustLoadConfiguration same as LoadConfiguration package-level function |
| 196 | // but it panics on error. |
| 197 | func MustLoadConfiguration(filename string) Configuration { |
| 198 | c, err := LoadConfiguration(filename) |
| 199 | if err != nil { |
| 200 | panic(err) |
| 201 | } |
| 202 | |
| 203 | return c |
| 204 | } |
| 205 | |
| 206 | // LoadConfiguration reads a filename (fullpath) |
| 207 | // and returns a Configuration binded to the contents of the given filename. |
nothing calls this directly
no test coverage detected
searching dependent graphs…