Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidType = fmt.Errorf("not a valid Type, try [%s]", strings.Join(_TypeNames, ", "))
Functions ¶
Types ¶
type Type ¶
type Type int
Type ENUM(desktop, code, qr)
func (*Type) Get ¶
func (x *Type) Get() interface{}
Get implements the Golang flag.Getter interface func.
func (Type) IsValid ¶
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
Click to show internal directories.
Click to hide internal directories.