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

Struct pflagValueSet

flags.go:22–24  ·  view source on GitHub ↗

pflagValueSet is a wrapper around *pflag.ValueSet that implements FlagValueSet.

Source from the content-addressed store, hash-verified

20// pflagValueSet is a wrapper around *pflag.ValueSet
21// that implements FlagValueSet.
22type pflagValueSet struct {
23 flags *pflag.FlagSet
24}
25
26// VisitAll iterates over all *pflag.Flag inside the *pflag.FlagSet.
27func (p pflagValueSet) VisitAll(fn func(flag FlagValue)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected