Documentation ¶
Index ¶
- type Getopt
- func (self *Getopt) BoolLong(name *string, shortname *rune, description string) *bool
- func (self *Getopt) CheckRequiredOptions() (bool, string, string)
- func (self *Getopt) NoOptionArgs() []string
- func (self *Getopt) Parse(args []string)
- func (self *Getopt) ParseArgv()
- func (self *Getopt) StringLong(name *string, shortname *rune, required bool, description string) **string
- func (self *Getopt) UInt64Long(name *string, shortname *rune, required bool, description string) **uint64
- func (self *Getopt) Usage()
- func (self *Getopt) UsageString() string
- type GetoptInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Getopt ¶
type Getopt struct {
// contains filtered or unexported fields
}
func (*Getopt) CheckRequiredOptions ¶
func (*Getopt) NoOptionArgs ¶
func (*Getopt) StringLong ¶
func (*Getopt) UInt64Long ¶
func (*Getopt) UsageString ¶
type GetoptInterface ¶
type GetoptInterface interface { StringLong(name *string, shortname *rune, required bool, description string) **string Usage() BoolLong(name *string, shortname *rune, description string) *bool NoOptionArgs() []string Parse([]string) ParseArgv() UInt64Long(name *string, shortname *rune, required bool, description string) **uint64 CheckRequiredOptions() (bool, string, string) }
Click to show internal directories.
Click to hide internal directories.