MCPcopy
hub / github.com/spf13/viper / ExperimentalBindStruct

Function ExperimentalBindStruct

experimental.go:4–8  ·  view source on GitHub ↗

ExperimentalBindStruct tells Viper to use the new bind struct feature.

()

Source from the content-addressed store, hash-verified

2
3// ExperimentalBindStruct tells Viper to use the new bind struct feature.
4func ExperimentalBindStruct() Option {
5 return optionFunc(func(v *Viper) {
6 v.experimentalBindStruct = true
7 })
8}

Callers 1

Calls 1

optionFuncFuncType · 0.85

Tested by 1