1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-14 00:00:40 +00:00

Remove scripts directory; update readme

This commit is contained in:
Ming Deng
2020-10-08 23:17:38 +08:00
parent f1358cf78d
commit d41abdb5e4
8 changed files with 214 additions and 96 deletions

View File

@ -184,17 +184,14 @@ func (c *BaseConfiger) Strings(ctx context.Context, key string) ([]string, error
return strings.Split(res, ";"), nil
}
// TODO remove this before release v2.0.0
func (c *BaseConfiger) Unmarshaler(ctx context.Context, prefix string, obj interface{}, opt ...DecodeOption) error {
return errors.New("unsupported operation")
}
// TODO remove this before release v2.0.0
func (c *BaseConfiger) Sub(ctx context.Context, key string) (Configer, error) {
return nil, errors.New("unsupported operation")
}
// TODO remove this before release v2.0.0
func (c *BaseConfiger) OnChange(ctx context.Context, key string, fn func(value string)) {
// do nothing
}