image

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUpdateImageParams

func NewUpdateImageParams(image db.Image) db.UpdateImageParams

Types

type ImageRepository

type ImageRepository interface {
	CreateImage(ctx context.Context, arg db.CreateImageParams) (db.Image, error)
	DeleteImage(ctx context.Context, id int64) error
	GetImage(ctx context.Context, id int64) (db.Image, error)
	UpdateImage(ctx context.Context, arg db.UpdateImageParams) (db.Image, error)
}

func NewRepository

func NewRepository(repositoryService *db.RepositoryService) ImageRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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