Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEmpty ¶
func CheckEmpty(value interface{}) error
CheckEmpty checks if an interface{} is empty Returns error if the value is nil or empty Returns error if Kind is not Array, Chan, Map, Slice, or String
Types ¶
type UnexpectedEmptyValue ¶
type UnexpectedEmptyValue struct{}
UnexpectedEmptyValue indicates an empty value is not expected in this context
func (*UnexpectedEmptyValue) Error ¶
func (*UnexpectedEmptyValue) Error() string
type UnexpectedNilValue ¶
type UnexpectedNilValue struct{}
UnexpectedNilValue indicates a nil value is not expected in this context
func (*UnexpectedNilValue) Error ¶
func (*UnexpectedNilValue) Error() string
type UnsupportedValueType ¶
type UnsupportedValueType struct {
// contains filtered or unexported fields
}
UnsupportedValueType indicates a value type is not supported in this context
func (*UnsupportedValueType) Error ¶
func (u *UnsupportedValueType) Error() string
Click to show internal directories.
Click to hide internal directories.