mirror of
https://github.com/spf13/viper.git
synced 2026-09-20 03:18:21 +00:00
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
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
|
|
})
|
|
}
|