Documentation ¶
Index ¶
- func Create(ctx context.Context, conn repository.Querier, track *model.DbTrack) error
- func DeleteById(ctx context.Context, conn repository.Querier, id int) (int, error)
- func LoadById(ctx context.Context, conn repository.Querier, id int) (*model.DbTrack, error)
- func Update(ctx context.Context, conn repository.Querier, track *model.DbTrack) (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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.