flag.FlagSet.name (field)
8 uses
flag (current package)
flag.go#L334: name string
flag.go#L376: return f.name
flag.go#L566: if f.name == "" {
flag.go#L569: fmt.Fprintf(f.Output(), "Usage of %s:\n", f.name)
flag.go#L865: if f.name == "" {
flag.go#L868: msg = fmt.Sprintf("%s flag redefined: %s", f.name, name)
flag.go#L1052: name: name,
flag.go#L1063: f.name = name
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |