Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoPicture = errors.New("no picture")
Functions ¶
This section is empty.
Types ¶
type PictureRepository ¶
type PictureRepository struct {
// contains filtered or unexported fields
}
PictureRepository contains all methods for managing pictures in a database.
func NewPictureRepository ¶
func NewPictureRepository(postgres *storage.Postgres) *PictureRepository
NewPictureRepository is a constructor for PictureRepository.
Click to show internal directories.
Click to hide internal directories.