MustGenerateConfiguration calls the Configuration's BindRandom method and returns the result. It panics on errors.
()
| 185 | // MustGenerateConfiguration calls the Configuration's BindRandom |
| 186 | // method and returns the result. It panics on errors. |
| 187 | func MustGenerateConfiguration() (c Configuration) { |
| 188 | if err := c.BindRandom(); err != nil { |
| 189 | panic(err) |
| 190 | } |
| 191 | |
| 192 | return |
| 193 | } |
| 194 | |
| 195 | // MustLoadConfiguration same as LoadConfiguration package-level function |
| 196 | // but it panics on error. |
no test coverage detected
searching dependent graphs…