flag

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegexpSetFlag

type RegexpSetFlag struct {
	Values []*regexp.Regexp
}

func NewRegexpSetFlag

func NewRegexpSetFlag() *RegexpSetFlag

func (*RegexpSetFlag) Set

func (set *RegexpSetFlag) Set(value string) error

func (*RegexpSetFlag) String

func (set *RegexpSetFlag) String() string

type StringEnumFlag

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

func NewStringEnumFlag

func NewStringEnumFlag(choices []string, defaultChoice string) *StringEnumFlag

func (*StringEnumFlag) Set

func (enum *StringEnumFlag) Set(value string) error

func (*StringEnumFlag) String

func (enum *StringEnumFlag) String() string

func (*StringEnumFlag) Value

func (enum *StringEnumFlag) Value() string

Jump to

Keyboard shortcuts

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