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

Interface FlagValue

flags.go:13–18  ·  flags.go::FlagValue

FlagValue is an interface that users can implement to bind different flags to viper.

Source from the content-addressed store, hash-verified

11// FlagValue is an interface that users can implement
12// to bind different flags to viper.
13type FlagValue interface {
14 HasChanged() bool
15 Name() string
16 ValueString() string
17 ValueType() string
18}
19
20// pflagValueSet is a wrapper around *pflag.ValueSet
21// that implements FlagValueSet.

Callers 5

findMethod · 0.65
TestDirsSearchFunction · 0.65
BindFlagValuesMethod · 0.65
findMethod · 0.65
findMethod · 0.65

Implementers 1

pflagValueflags.go

Calls

no outgoing calls

Tested by

no test coverage detected