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

Interface FlagValueSet

flags.go:7–9  ·  flags.go::FlagValueSet

FlagValueSet is an interface that users can implement to bind a set of flags to viper.

Source from the content-addressed store, hash-verified

5// FlagValueSet is an interface that users can implement
6// to bind a set of flags to viper.
7type FlagValueSet interface {
8 VisitAll(fn func(FlagValue))
9}
10
11// FlagValue is an interface that users can implement
12// to bind different flags to viper.

Callers 8

TestBindPFlagsFunction · 0.65
TestBindPFlagsIntSliceFunction · 0.65
TestBindPFlagStringToIntFunction · 0.65
TestFlagShadowFunction · 0.65
BindFlagValuesMethod · 0.65

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected