flags

package
v0.0.0-...-e9efb70 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayFlags

type ArrayFlags []string

ArrayFlags parses multi same flags into an arry.

func (*ArrayFlags) Set

func (i *ArrayFlags) Set(value string) error

Set implemetns flag.Value interface.

func (*ArrayFlags) String

func (i *ArrayFlags) String() string

String implemetns flag.Value interface.

type SetFlags

type SetFlags map[string]struct{}

SetFlags parses multi same flags into a set.

func (*SetFlags) Set

func (i *SetFlags) Set(value string) error

Set implemetns flag.Value interface.

func (*SetFlags) String

func (i *SetFlags) String() string

String implemetns flag.Value interface.

Jump to

Keyboard shortcuts

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