repository

package
v0.0.0-...-bee458a Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrVideoNotFound = errors.New("Video not found")

Functions

This section is empty.

Types

type VideoRepository

type VideoRepository interface {
	Get(id int) (*entity.Video, error)
	GetAll() ([]*entity.Video, error)
	Create(in entity.Video) (*entity.Video, error)
	Update(in entity.Video) (*entity.Video, error)
	Delete(id int) error
}

Jump to

Keyboard shortcuts

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