mirror of
https://github.com/spf13/viper
synced 2024-06-30 23:59:08 +00:00
9 lines
204 B
Go
9 lines
204 B
Go
package viper
|
|
|
|
// ExperimentalBindStruct tells Viper to use the new bind struct feature.
|
|
func ExperimentalBindStruct() Option {
|
|
return optionFunc(func(v *Viper) {
|
|
v.experimentalBindStruct = true
|
|
})
|
|
}
|