flags

package
v6.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

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

func New

func New(name string) Flags

func (Flags) Args

func (f Flags) Args() []string

func (Flags) Bool

func (f Flags) Bool(v *bool, short, long string, value bool)

func (Flags) Parse

func (f Flags) Parse(args []string) error

func (Flags) String

func (f Flags) String(v *string, name string, value string)

Jump to

Keyboard shortcuts

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