Documentation ¶
Index ¶
- func AppendSliceElement(slice, val reflect.Value)
- func AssignStructVals(i interface{}, rd rowData, cm ColumnMap)
- func GetSliceElementType(val reflect.Value) reflect.Type
- func GetTypeInfo(i interface{}, val reflect.Value) (reflect.Type, reflect.Kind)
- func IsBool(k reflect.Kind) bool
- func IsEmptyValue(v reflect.Value) bool
- func IsFloat(k reflect.Kind) bool
- func IsInt(k reflect.Kind) bool
- func IsInvalid(k reflect.Kind) bool
- func IsPointer(k reflect.Kind) bool
- func IsSlice(k reflect.Kind) bool
- func IsString(k reflect.Kind) bool
- func IsStruct(k reflect.Kind) bool
- func IsUint(k reflect.Kind) bool
- func SafeGetFieldByIndex(v reflect.Value, fieldIndex []int) (result reflect.Value, isAvailable bool)
- func SafeSetFieldByIndex(v reflect.Value, fieldIndex []int, src interface{}) (result reflect.Value)
- func SetColumnRenameFunction(newFunction func(string) string)
- type ColumnData
- type ColumnMap
- type ValueSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendSliceElement ¶
AppendSliceElement will append val to slice. Handles slice of pointers and not pointers. Val needs to be a pointer.
func AssignStructVals ¶
func AssignStructVals(i interface{}, rd rowData, cm ColumnMap)
AssignStructVals will assign the data from rd to i.
func GetSliceElementType ¶
GetSliceElementType returns the type for a slices elements.
func IsEmptyValue ¶
func SafeGetFieldByIndex ¶
func SafeSetFieldByIndex ¶
func SetColumnRenameFunction ¶
Types ¶
type ColumnData ¶
type ValueSlice ¶
func (ValueSlice) Equal ¶
func (vs ValueSlice) Equal(other ValueSlice) bool
func (ValueSlice) Len ¶
func (vs ValueSlice) Len() int
func (ValueSlice) Less ¶
func (vs ValueSlice) Less(i, j int) bool
func (ValueSlice) String ¶
func (vs ValueSlice) String() string
func (ValueSlice) Swap ¶
func (vs ValueSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.