Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
@@ -107,6 +107,10 @@ func (c *fileConfig) String() string {
return "file"
}
func (c *fileConfig) Name() string {
return c.opts.Name
func NewConfig(opts ...config.Option) config.Config {
options := config.NewOptions(opts...)
if len(options.StructTag) == 0 {
The note is not visible to the blocked user.