Documentation ¶
Index ¶
- func NewAlbumCoverPostgresRepo(db *sqlx.DB) domain.AlbumCoverRepo
- type AlbumCoverRepo
- func (table AlbumCoverRepo) Create(cover *albumProto.AlbumCover) error
- func (table AlbumCoverRepo) Delete(id int64) error
- func (table AlbumCoverRepo) GetAll() ([]*albumProto.AlbumCover, error)
- func (table AlbumCoverRepo) GetLastId() (int64, error)
- func (table AlbumCoverRepo) GetSize() (int64, error)
- func (table AlbumCoverRepo) SelectByID(id int64) (*albumProto.AlbumCover, error)
- func (table AlbumCoverRepo) Update(cover *albumProto.AlbumCover) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlbumCoverPostgresRepo ¶
func NewAlbumCoverPostgresRepo(db *sqlx.DB) domain.AlbumCoverRepo
Types ¶
type AlbumCoverRepo ¶
func (AlbumCoverRepo) Create ¶
func (table AlbumCoverRepo) Create(cover *albumProto.AlbumCover) error
----------------------------------------------------------------------
func (AlbumCoverRepo) Delete ¶
func (table AlbumCoverRepo) Delete(id int64) error
func (AlbumCoverRepo) GetAll ¶
func (table AlbumCoverRepo) GetAll() ([]*albumProto.AlbumCover, error)
func (AlbumCoverRepo) GetLastId ¶
func (table AlbumCoverRepo) GetLastId() (int64, error)
func (AlbumCoverRepo) GetSize ¶
func (table AlbumCoverRepo) GetSize() (int64, error)
func (AlbumCoverRepo) SelectByID ¶
func (table AlbumCoverRepo) SelectByID(id int64) (*albumProto.AlbumCover, error)
func (AlbumCoverRepo) Update ¶
func (table AlbumCoverRepo) Update(cover *albumProto.AlbumCover) error
Click to show internal directories.
Click to hide internal directories.