Documentation ¶ Index ¶ func Create(conn repository.Querier, track *model.DbTrack) error func DeleteById(conn repository.Querier, id int) (int, error) func LoadById(conn repository.Querier, id int) (*model.DbTrack, error) func Update(conn repository.Querier, track *model.DbTrack) (int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Create ¶ func Create(conn repository.Querier, track *model.DbTrack) error func DeleteById ¶ func DeleteById(conn repository.Querier, id int) (int, error) deletes an entry from the database, returns number of rows deleted. func LoadById ¶ func LoadById(conn repository.Querier, id int) (*model.DbTrack, error) func Update ¶ func Update(conn repository.Querier, track *model.DbTrack) (int, error) Types ¶ This section is empty. Source Files ¶ View all Source files track_repos.go Click to show internal directories. Click to hide internal directories.