Documentation ¶
Overview ¶
Package localinterface defines some interfaces for converting usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBytes ¶
type IBytes interface {
Bytes() []byte
}
IBytes is used for type assert api for Bytes().
type IError ¶
type IError interface {
Error() string
}
IError is used for type assert api for Error().
type IFloat32 ¶
type IFloat32 interface {
Float32() float32
}
IFloat32 is used for type assert api for Float32().
type IFloat64 ¶
type IFloat64 interface {
Float64() float64
}
IFloat64 is used for type assert api for Float64().
type IFloats ¶
type IFloats interface {
Floats() []float64
}
IFloats is used for type assert api for Floats().
type IInt64 ¶
type IInt64 interface {
Int64() int64
}
IInt64 is used for type assert api for Int64().
type IInterface ¶
type IInterface interface {
Interface() interface{}
}
IInterface is used for type assert api for Interface().
type IInterfaces ¶
type IInterfaces interface {
Interfaces() []interface{}
}
IInterfaces is used for type assert api for Interfaces().
type IMapStrAny ¶
type IMapStrAny interface {
MapStrAny() map[string]interface{}
}
IMapStrAny is the interface support for converting struct parameter to map.
type ISet ¶
type ISet interface {
Set(value interface{}) (old interface{})
}
ISet is the interface for custom value assignment.
type IString ¶
type IString interface {
String() string
}
IString is used for type assert api for String().
type IStrings ¶
type IStrings interface {
Strings() []string
}
IStrings is used for type assert api for Strings().
type IUint64 ¶
type IUint64 interface {
Uint64() uint64
}
IUint64 is used for type assert api for Uint64().
type IUints ¶
type IUints interface {
Uints() []uint
}
IUints is used for type assert api for Uints().
type IUnmarshalJSON ¶
IUnmarshalJSON is the interface for custom defined types customizing value assignment. Note that only pointer can implement interface iUnmarshalJSON.
type IUnmarshalText ¶
IUnmarshalText is the interface for custom defined types customizing value assignment. Note that only pointer can implement interface iUnmarshalText.
type IUnmarshalValue ¶
type IUnmarshalValue interface {
UnmarshalValue(interface{}) error
}
IUnmarshalValue is the interface for custom defined types customizing value assignment. Note that only pointer can implement interface iUnmarshalValue.