MCPcopy
hub / github.com/spf13/pflag / textValue

Struct textValue

text.go:10–10  ·  view source on GitHub ↗

following is copied from go 1.23.4 flag.go

Source from the content-addressed store, hash-verified

8
9// following is copied from go 1.23.4 flag.go
10type textValue struct{ p encoding.TextUnmarshaler }
11
12func newTextValue(val encoding.TextMarshaler, p encoding.TextUnmarshaler) textValue {
13 ptrVal := reflect.ValueOf(p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected