Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bool = BoolVar(nil)
View Source
var String = StringVar(nil)
View Source
var Uint64 = Uint64Var(nil)
Functions ¶
This section is empty.
Types ¶
type Param ¶
func Specialize ¶
func Specialize(p Param, name string, next Transformer) Param
func Untyped ¶
func Untyped(tt ...TypedParam) []Param
type Transformer ¶
type Transformer func(in interface{}) (out interface{}, err error)
type TypedParam ¶
func BoolVar ¶
func BoolVar(ref *bool) TypedParam
func SpecializeTyped ¶
func SpecializeTyped(p TypedParam, name string, next Transformer) TypedParam
func StringVar ¶
func StringVar(ref *string) TypedParam
func Uint64Var ¶
func Uint64Var(ref *uint64) TypedParam
Click to show internal directories.
Click to hide internal directories.