flag.Arg
func Arg(int) string
- Kind
- function
- Module
flag- Since
- 1.0
Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
The entries of flag in the Go reference. This page has 90 cards.
func Arg(int) string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Args() []string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Bool(string, bool, string) *bool
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func BoolFunc(string, string, func(string) error)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func BoolVar(*bool, string, bool, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
var CommandLine *FlagSet
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const ContinueOnError ErrorHandling
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Duration(string, time.Duration, string) *time.Duration
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func DurationVar(*time.Duration, string, time.Duration, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
var ErrHelp error
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type ErrorHandling int
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const ExitOnError ErrorHandling
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Flag struct
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Flag struct, DefValue string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Flag struct, Name string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Flag struct, Usage string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Flag struct, Value Value
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type FlagSet struct
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Arg(int) string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Args() []string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Bool(string, bool, string) *bool
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) BoolFunc(string, string, func(string) error)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) BoolVar(*bool, string, bool, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Duration(string, time.Duration, string) *time.Duration
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) DurationVar(*time.Duration, string, time.Duration, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) ErrorHandling() ErrorHandling
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Float64(string, float64, string) *float64
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Float64Var(*float64, string, float64, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Func(string, string, func(string) error)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Init(string, ErrorHandling)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Int(string, int, string) *int
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Int64(string, int64, string) *int64
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Int64Var(*int64, string, int64, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) IntVar(*int, string, int, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Lookup(string) *Flag
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Name() string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) NArg() int
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) NFlag() int
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Output() io.Writer
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Parse([]string) error
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Parsed() bool
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) PrintDefaults()
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Set(string, string) error
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) SetOutput(io.Writer)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) String(string, string, string) *string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) StringVar(*string, string, string, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) TextVar(encoding.TextUnmarshaler, string, encoding.TextMarshaler, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Uint(string, uint, string) *uint
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Uint64(string, uint64, string) *uint64
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Uint64Var(*uint64, string, uint64, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) UintVar(*uint, string, uint, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type FlagSet struct, Usage func()
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Var(Value, string, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) Visit(func(*Flag))
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*FlagSet) VisitAll(func(*Flag))
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Float64(string, float64, string) *float64
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Float64Var(*float64, string, float64, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Func(string, string, func(string) error)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Getter interface { Get, Set, String }
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Getter interface, Get() interface{}
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Getter interface, Set(string) error
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Getter interface, String() string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Int(string, int, string) *int
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Int64(string, int64, string) *int64
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Int64Var(*int64, string, int64, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func IntVar(*int, string, int, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Lookup(string) *Flag
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func NArg() int
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func NewFlagSet(string, ErrorHandling) *FlagSet
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func NFlag() int
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const PanicOnError ErrorHandling
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Parse()
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Parsed() bool
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func PrintDefaults()
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Set(string, string) error
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func String(string, string, string) *string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func StringVar(*string, string, string, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func TextVar(encoding.TextUnmarshaler, string, encoding.TextMarshaler, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Uint(string, uint, string) *uint
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Uint64(string, uint64, string) *uint64
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Uint64Var(*uint64, string, uint64, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func UintVar(*uint, string, uint, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func UnquoteUsage(*Flag) (string, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
var Usage func()
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Value interface { Set, String }
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Value interface, Set(string) error
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Value interface, String() string
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Var(Value, string, string)
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Visit(func(*Flag))
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func VisitAll(func(*Flag))
flagSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.