Documentation
¶
Index ¶
- func GetConnection() *sql.DB
- func GetMockDB(t *testing.T) sqlmock.Sqlmock
- func ScanColumnToStringSlice(rows *sql.Rows) ([]string, error)
- func ScanRowToMap(row *sql.Row, colNames []string) (map[string]interface{}, error)
- func ScanRowsToMap(rows *sql.Rows, colNames []string) ([]map[string]interface{}, error)
- type Mock
- type MockRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnection ¶
func ScanRowToMap ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.