flag.Flag.Value (field)
7 uses
flag (current package)
flag.go#L411: Value Value // value as set
flag.go#L520: err := flag.Value.Set(value)
flag.go#L542: typ := reflect.TypeOf(flag.Value)
flag.go#L585: switch fv := flag.Value.(type) {
flag.go#L633: if _, ok := flag.Value.(*stringValue); ok {
flag.go#L1118: if fv, ok := flag.Value.(boolFlag); ok && fv.IsBoolFlag() { // special case: doesn't need an arg
flag.go#L1138: if err := flag.Value.Set(value); err != nil {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |