type flag.Flag
19 uses
flag (current package)
flag.go#L399: actual map[string]*Flag
flag.go#L400: formal map[string]*Flag
flag.go#L408: type Flag struct {
flag.go#L416: func sortFlags(flags map[string]*Flag) []*Flag {
flag.go#L417: result := make([]*Flag, len(flags))
flag.go#L456: func (f *FlagSet) VisitAll(fn func(*Flag)) {
flag.go#L464: func VisitAll(fn func(*Flag)) {
flag.go#L470: func (f *FlagSet) Visit(fn func(*Flag)) {
flag.go#L478: func Visit(fn func(*Flag)) {
flag.go#L483: func (f *FlagSet) Lookup(name string) *Flag {
flag.go#L489: func Lookup(name string) *Flag {
flag.go#L525: f.actual = make(map[string]*Flag)
flag.go#L538: func isZeroValue(flag *Flag, value string) (ok bool, err error) {
flag.go#L568: func UnquoteUsage(flag *Flag) (name string, usage string) {
flag.go#L609: f.VisitAll(func(flag *Flag) {
flag.go#L1019: flag := &Flag{name, usage, value, value.String()}
flag.go#L1034: f.formal = make(map[string]*Flag)
flag.go#L1143: f.actual = make(map[string]*Flag)
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. |