You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Config struct {
FooConfig `mapstructure:"foo"`
Encoding string `mapstructure:"encoding"`
}
type FooConfig struct {
MyString "my_foo_string"
}
Now, if we define the "Unmarshal" on "FooConfig" we will get an error that encoding is not defined. This is a problem that will stop development for FooConfig.