Documentation ¶
Index ¶
- type BoolValue
- type Float64Value
- type IntValue
- type Option
- type Set
- func (s *Set) Arg(n int) string
- func (s *Set) Args() []string
- func (s *Set) Argument(v Value, name, usage string, optional bool)
- func (s *Set) Bool(name string, value bool, usage string, t *bool, optional bool) *bool
- func (s *Set) BoolArg(name string, value bool, usage string, t *bool, optional bool) *bool
- func (s *Set) BoolVar(target *bool, name string, value bool, usage string, positional bool, ...)
- func (s *Set) Float64(name string, value float64, usage string, t *float64, optional bool) *float64
- func (s *Set) Float64Arg(name string, value float64, usage string, t *float64, optional bool) *float64
- func (s *Set) Float64Var(target *float64, name string, value float64, usage string, positional bool, ...)
- func (s *Set) Int(name string, value int, usage string, t *int, optional bool) *int
- func (s *Set) IntArg(name string, value int, usage string, t *int, optional bool) *int
- func (s *Set) IntVar(target *int, name string, value int, usage string, positional bool, ...)
- func (s *Set) Lookup(name string) *Option
- func (s *Set) Parse(args []string) (err error)
- func (s *Set) String(name string, value string, usage string, t *string, optional bool) *string
- func (s *Set) StringArg(name string, value string, usage string, t *string, optional bool) *string
- func (s *Set) StringVar(target *string, name string, value string, usage string, positional bool, ...)
- func (s *Set) Var(v Value, name, usage string, optional bool)
- type StringValue
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float64Value ¶
type Float64Value float64
func (*Float64Value) Explicit ¶
func (v *Float64Value) Explicit() bool
func (*Float64Value) Set ¶
func (v *Float64Value) Set(nv string) error
func (*Float64Value) String ¶
func (v *Float64Value) String() string
type Set ¶
func (*Set) Float64Arg ¶
func (*Set) Float64Var ¶
type StringValue ¶
type StringValue string
func (*StringValue) Explicit ¶
func (v *StringValue) Explicit() bool
func (*StringValue) Set ¶
func (v *StringValue) Set(nv string) error
func (*StringValue) String ¶
func (v *StringValue) String() string
Click to show internal directories.
Click to hide internal directories.