getopt

package
v0.0.0-...-c7a5e3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptSet

type OptSet struct {
	// contains filtered or unexported fields
}

func (OptSet) Args

func (o OptSet) Args() []string

func (*OptSet) Bool

func (o *OptSet) Bool(ptr *bool, name byte, value bool, usage string)

func (*OptSet) Int

func (o *OptSet) Int(ptr *int64, name byte, value int64, usage string)

func (*OptSet) Parse

func (o *OptSet) Parse(args []string) error

func (*OptSet) String

func (o *OptSet) String(ptr *string, name byte, value string, usage string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL