Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIncompatibleInterface = errors.New("could not decode interface into Value")
Functions ¶
func TestRuneFromIFace ¶
Types ¶
type ContainedTypeInfo ¶
type ContainedTypeInfo[T comparable] struct { Description string FromIFace func(iFace interface{}) (T, error) FromString func(string) (T, error) // Initalized to the Empty value, but used for updating stuff in the container type Empty func() T }
func Bool ¶
func Bool() ContainedTypeInfo[bool]
func Duration ¶
func Duration() ContainedTypeInfo[time.Duration]
func Int ¶
func Int() ContainedTypeInfo[int]
func Path ¶
func Path() ContainedTypeInfo[string]
func Rune ¶
func Rune() ContainedTypeInfo[rune]
func String ¶
func String() ContainedTypeInfo[string]
Click to show internal directories.
Click to hide internal directories.