Documentation ¶
Index ¶
- func MapRowsToModel(rows *sql.Rows, model interface{}, modelType reflect.Type, isPointer bool) error
- func MapRowsToSliceModel(rows *sql.Rows, model interface{}, modelType reflect.Type) error
- func ResolveModelInfo(model interface{}) (reflect.Type, string, bool, error)
- func ScanRow(rows *sql.Rows, targetValue reflect.Value) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapRowsToModel ¶
func MapRowsToModel(rows *sql.Rows, model interface{}, modelType reflect.Type, isPointer bool) error
MapRowsToModel maps database rows to the provided model
func MapRowsToSliceModel ¶
func ResolveModelInfo ¶
ResolveModelInfo extracts model information for table and type resolution
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.