Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidMode = fmt.Errorf("not a valid Mode, try [%s]", strings.Join(_ModeNames, ", "))
Functions ¶
Types ¶
type Mode ¶
type Mode int
Mode ENUM(direct, clone)
func (*Mode) Get ¶
func (x *Mode) Get() interface{}
Get implements the Golang flag.Getter interface func.
func (Mode) IsValid ¶
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
type Progress ¶
type Progress interface { OnAdd(elem Elem) ProgressClone OnDone(elem Elem, err error) }
type ProgressClone ¶ added in v0.13.3
type ProgressClone interface {
OnClone(elem Elem, state ProgressState)
}
type ProgressState ¶
Click to show internal directories.
Click to hide internal directories.