flags

package
v8.4.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 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, name string)

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