File: experimental.go

package info (click to toggle)
golang-github-spf13-viper 1.21.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid
  • size: 560 kB
  • sloc: makefile: 64
file content (8 lines) | stat: -rw-r--r-- 204 bytes parent folder | download
1
2
3
4
5
6
7
8
package viper

// ExperimentalBindStruct tells Viper to use the new bind struct feature.
func ExperimentalBindStruct() Option {
	return optionFunc(func(v *Viper) {
		v.experimentalBindStruct = true
	})
}