AlbumCoverPostgres

package
v0.0.0-...-704a905 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlbumCoverPostgresRepo

func NewAlbumCoverPostgresRepo(db *sqlx.DB) domain.AlbumCoverRepo

Types

type AlbumCoverRepo

type AlbumCoverRepo struct {
	Sqlx *sqlx.DB
}

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

Jump to

Keyboard shortcuts

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