update for latest micro

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-01-29 16:26:58 +03:00
parent 0a2e3f77f9
commit eea8b27993
3 changed files with 27 additions and 317 deletions

View File

@@ -151,6 +151,10 @@ func (c *vaultConfig) String() string {
return "vault"
}
func (c *vaultConfig) Name() string {
return c.opts.Name
}
func NewConfig(opts ...config.Option) config.Config {
options := config.NewOptions(opts...)
if len(options.StructTag) == 0 {