repository

package
v0.0.0-...-19bcc6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumRepository

type AlbumRepository struct {
	rdb.SqlHandler
}

func (*AlbumRepository) GetAlbum

func (repo *AlbumRepository) GetAlbum(id int) (album domain.Album, err error)

func (*AlbumRepository) GetAlbumsByArtistId

func (repo *AlbumRepository) GetAlbumsByArtistId(artistId int) (albums []domain.Album, err error)

type ArtistRepository

type ArtistRepository struct {
	rdb.SqlHandler
}

func (*ArtistRepository) FindAliases

func (repo *ArtistRepository) FindAliases(id int) (aliases []domain.Credit, err error)

func (*ArtistRepository) FindMembers

func (repo *ArtistRepository) FindMembers(id int) (members []domain.Credit, err error)

func (*ArtistRepository) GetArtist

func (repo *ArtistRepository) GetArtist(id int) (artist domain.Artist, err error)

type SongRepository

type SongRepository struct {
	rdb.SqlHandler
}

func (*SongRepository) GetAttendedSongs

func (repo *SongRepository) GetAttendedSongs(artistId int) (songs []domain.Song, err error)

func (*SongRepository) GetSong

func (repo *SongRepository) GetSong(id int) (song domain.Song, err error)

func (*SongRepository) GetSongsInAlbum

func (repo *SongRepository) GetSongsInAlbum(albumId int) (songs []domain.Song, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL