Upgrade toml version

This commit is contained in:
Ming Deng
2020-10-14 00:24:22 +08:00
parent ccf873fa8b
commit 3fc21ae6ec
6 changed files with 20 additions and 5 deletions

View File

@@ -98,6 +98,10 @@ func (c *fakeConfigContainer) SaveConfigFile(filename string) error {
return errors.New("not implement in the fakeConfigContainer")
}
func (c *fakeConfigContainer) Unmarshaler(prefix string, obj interface{}, opt ...DecodeOption) error {
return errors.New("unsupported operation")
}
var _ Configer = new(fakeConfigContainer)
// NewFakeConfig return a fake Configer