Documentation ¶
Index ¶
- func HelperTestMergeActivities(t *testing.T, sdb StravaDatabase, activitiesSql string, streamsSql string)
- func HelperTestUploadActivityJson(t *testing.T, sdb StravaDatabase)
- func LogRowResponse(row *sql.Row, logLabel string) error
- func QueryContext(context context.Context, q QueryContextable, logLabel string, sqlText string) (*sql.Rows, error)
- func QueryRowContext(context context.Context, q QueryRowContextable, logLabel string, ...) *sql.Row
- func ScanColumns(rows *sql.Rows, slicesOut ...any) error
- func ScanColumnsAndCompare(t *testing.T, rows *sql.Rows, expectedValsSlices ...any)
- func ToJsonables(slice []StringJsonable) []util.Jsonable
- type QueryContextable
- type QueryRowContextable
- type SqlFlags
- type StravaDatabase
- type StringJsonable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HelperTestMergeActivities ¶
func HelperTestMergeActivities( t *testing.T, sdb StravaDatabase, activitiesSql string, streamsSql string)
func HelperTestUploadActivityJson ¶
func HelperTestUploadActivityJson(t *testing.T, sdb StravaDatabase)
func QueryContext ¶
func QueryRowContext ¶
func ScanColumns ¶
scan the rows column-wise into the slices pointed to by ...any The arguments of Scan are constructed according to the types of the pointed slices. the inputs may also be a slice pointer converted to an interface{}
func ScanColumnsAndCompare ¶
func ToJsonables ¶
func ToJsonables(slice []StringJsonable) []util.Jsonable
Types ¶
type QueryContextable ¶
type QueryRowContextable ¶
type StravaDatabase ¶
type StringJsonable ¶
type StringJsonable string
func (StringJsonable) ToJson ¶
func (sj StringJsonable) ToJson() string
Directories ¶
Path | Synopsis |
---|---|
functions to create and verify our schema.
|
functions to create and verify our schema. |
Click to show internal directories.
Click to hide internal directories.