Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Names = []string{
"Bool",
"Int",
"Uint",
"Duration",
"Float",
"String",
"List",
}
Names provides the string associated with the Concrete type.
Functions ¶
Types ¶
type Concrete ¶
type Concrete interface { Bool() bool Int() int64 Uint() uint64 Duration() time.Duration Float() float64 String() string List() []string FromString(string) error }
Concrete should return a value for the correct concrete type and panic otherwise, except for String which should always yield a value.
Click to show internal directories.
Click to hide internal directories.