Documentation ¶
Overview ¶
Package uuidflag wraps a UUID so it satisfies the Value and Getter interface of the Go flag package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Uuid ¶
Uuid wraps UUID.
func DefaultFromString ¶
DefaultFromString allows shortcut declaration of a UUID flag with a default value. It panics on error; if you don't want that, call the normal Set instance method. Note the flag is considered set after this.
Click to show internal directories.
Click to hide internal directories.