mirror of
https://github.com/spf13/viper
synced 2025-04-27 07:47:17 +00:00
9 lines
200 B
Go
9 lines
200 B
Go
|
package viper
|
||
|
|
||
|
// ExperimentalBindStruct tells Viper to use the new bind struct feature.
|
||
|
func ExperimentalBindStruct() Option {
|
||
|
return optionFunc(func(v *Viper) {
|
||
|
v.experimentalFinder = true
|
||
|
})
|
||
|
}
|