2024-06-04 16:32:09 +03:00
|
|
|
package viper
|
|
|
|
|
|
|
|
// ExperimentalBindStruct tells Viper to use the new bind struct feature.
|
|
|
|
func ExperimentalBindStruct() Option {
|
|
|
|
return optionFunc(func(v *Viper) {
|
2024-06-04 22:06:34 +03:00
|
|
|
v.experimentalBindStruct = true
|
2024-06-04 16:32:09 +03:00
|
|
|
})
|
|
|
|
}
|