Documentation
¶
Index ¶
- Variables
- func SetSliceStrings(value reflect.Value, field reflect.StructField, strs []string) error
- func SetString(value reflect.Value, field reflect.StructField, str string) error
- func SetStringSilent(value reflect.Value, field reflect.StructField, str string) error
- type GoWalkerMayber
- type SetStringer
- type Setter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotSupportKind - kind not support to set by string. ErrNotSupportKind = errors.New("not support kind") // ErrNotImplemented - not implemented yet functionality. ErrNotImplemented = errors.New("not implemented") // ErrNotSetField - field cannot be set. ErrNotSetField = errors.New("cannot be set") ErrIncorrectMaybeType = errors.New("incorrect Maybe type structure") )
Functions ¶
func SetSliceStrings ¶
SetSliceStrings - set value by slice of strings
Support multi values only: Slice, Array other kindes set by string (first value from slice).
func SetStringSilent ¶ added in v0.1.2
Types ¶
type GoWalkerMayber ¶ added in v0.1.2
type GoWalkerMayber interface {
GoWalkerMaybe()
}
type SetStringer ¶ added in v0.0.8
Click to show internal directories.
Click to hide internal directories.