Documentation ¶
Index ¶
- func Create(ctx context.Context, conn repository.Querier, track *trackv1.Track) error
- func DeleteById(ctx context.Context, conn repository.Querier, id int) (int, error)
- func EnsureTrack(ctx context.Context, conn repository.Querier, track *trackv1.Track) error
- func LoadAll(ctx context.Context, conn repository.Querier) ([]*trackv1.Track, error)
- func LoadById(ctx context.Context, conn repository.Querier, id int) (*trackv1.Track, error)
- func UpdatePitInfo(ctx context.Context, conn repository.Querier, id int, pitInfo *trackv1.PitInfo) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteById ¶
deletes an entry from the database, returns number of rows deleted.
func EnsureTrack ¶ added in v0.21.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.