koding / multiconfig

Load configuration from multiple sources in Go
http://godoc.org/github.com/koding/multiconfig
MIT License
454 stars 64 forks source link

bug : flag: help requested #77

Open big-doudou opened 6 years ago

big-doudou commented 6 years ago

code: m := multiconfig.NewWithPath(configPath) config := new(common.Configs) m.MustLoad(config)

app -help Usage of app: ... ... flag: help requested

This panic arises func (d *DefaultLoader) MustLoad(conf interface{})

Want to know why