var ( DefaultColumnRenameFunction = strings.ToLower )
func AppendSliceElement(slice, val reflect.Value)
AppendSliceElement will append val to slice. Handles slice of pointers and not pointers. Val needs to be a pointer.
func AssignStructVals(i interface{}, rd rowData, cm ColumnMap)
AssignStructVals will assign the data from rd to i.
func GetSliceElementType(val reflect.Value) reflect.Type
GetSliceElementType returns the type for a slices elements.
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)
func SetIgnoreUntaggedFields(ignore bool)
type ColumnData struct { ColumnName string FieldIndex []int ShouldInsert bool ShouldUpdate bool DefaultIfEmpty bool GoType reflect.Type }
type ColumnMap map[string]ColumnData
func GetColumnMap(i interface{}) (ColumnMap, error)
func (cm ColumnMap) Cols() []string
func (cm ColumnMap) Merge(colMaps []ColumnMap) ColumnMap
type ValueSlice []reflect.Value
func (vs ValueSlice) Equal(other ValueSlice) bool
func (vs ValueSlice) Len() int
func (vs ValueSlice) Less(i, j int) bool
func (vs ValueSlice) String() string
func (vs ValueSlice) Swap(i, j int)