parser

package
v0.0.0-...-8de8eb9 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

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

func NewBool

func NewBool(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewDuration

func NewDuration(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewFloat64

func NewFloat64(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewInt

func NewInt(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewInt64

func NewInt64(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewSlice

func NewSlice(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewString

func NewString(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewUint

func NewUint(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func NewUint64

func NewUint64(set *flag.FlagSet, field reflect.Value, tags reflect.StructTag) (*Flag, error)

func (*Flag) SetIfMatched

func (f *Flag) SetIfMatched(ef *flag.Flag)

func (Flag) Validate

func (f Flag) Validate() error

type StringSlice

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

func (*StringSlice) Set

func (ss *StringSlice) Set(item string) error

func (*StringSlice) String

func (ss *StringSlice) String() string

Jump to

Keyboard shortcuts

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