mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
d1e18b2551
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
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
|
|
})
|
|
}
|