Help us shape the future of Go! Take the 2026 Go Developer Survey

flags

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

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