mirror of
https://github.com/spf13/viper
synced 2025-04-10 23:47:19 +00:00
8 lines
204 B
Go
8 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
|
|
})
|
|
}
|