service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumService

type AlbumService struct {
	// contains filtered or unexported fields
}

func NewAlbumService

func NewAlbumService(rdb *sql.DB, repos *Repositories) *AlbumService

func (*AlbumService) Create

func (*AlbumService) Delete

func (*AlbumService) Get

func (*AlbumService) List

func (*AlbumService) Update

type ErrBadInput

type ErrBadInput struct {
	// contains filtered or unexported fields
}

func (ErrBadInput) Error

func (e ErrBadInput) Error() string

func (ErrBadInput) Unwap

func (e ErrBadInput) Unwap() error

type ErrNotFound

type ErrNotFound struct {
	// contains filtered or unexported fields
}

func (ErrNotFound) Error

func (e ErrNotFound) Error() string

func (ErrNotFound) Unwrap

func (e ErrNotFound) Unwrap() error

type Repositories

type Repositories struct {
	Album rdb.AlbumRepository
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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