Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertInterfaceToString ¶
func ConvertInterfaceToString(value interface{}) string
Types ¶
type BooleanConverter ¶
type BooleanConverter struct{}
func (BooleanConverter) CovertStringToInterface ¶
func (i BooleanConverter) CovertStringToInterface(value string) (interface{}, error)
func (BooleanConverter) CovertStringToPrimitiveTypeAndSetField ¶
type Converter ¶
type Converter interface { CovertStringToInterface(value string) (interface{}, error) CovertStringToPrimitiveTypeAndSetField(field reflect.Value, value string, isPtr bool) error }
func StringConverterFactory ¶
type Float32Converter ¶
type Float32Converter struct{}
func (Float32Converter) CovertStringToInterface ¶
func (i Float32Converter) CovertStringToInterface(value string) (interface{}, error)
func (Float32Converter) CovertStringToPrimitiveTypeAndSetField ¶
type Float64Converter ¶
type Float64Converter struct{}
func (Float64Converter) CovertStringToInterface ¶
func (i Float64Converter) CovertStringToInterface(value string) (interface{}, error)
func (Float64Converter) CovertStringToPrimitiveTypeAndSetField ¶
type Int32Converter ¶
type Int32Converter struct{}
func (Int32Converter) CovertStringToInterface ¶
func (i Int32Converter) CovertStringToInterface(value string) (interface{}, error)
func (Int32Converter) CovertStringToPrimitiveTypeAndSetField ¶
type Int64Converter ¶
type Int64Converter struct{}
func (Int64Converter) CovertStringToInterface ¶
func (i Int64Converter) CovertStringToInterface(value string) (interface{}, error)
func (Int64Converter) CovertStringToPrimitiveTypeAndSetField ¶
type StringConverter ¶
type StringConverter struct{}
func (StringConverter) CovertStringToInterface ¶
func (i StringConverter) CovertStringToInterface(value string) (interface{}, error)
func (StringConverter) CovertStringToPrimitiveTypeAndSetField ¶
Click to show internal directories.
Click to hide internal directories.