repositories

package
v0.0.0-...-e5ef398 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMovieRedisRepository

type IMovieRedisRepository interface {
	Set(models.Movie) error
	Get(int64) (models.Movie, error)
}

type IMovieRepository

type IMovieRepository interface {
	Create(models.Movie) error
	Exist(string) bool
	Find(int64) (models.Movie, error)
	FindAll() ([]models.Movie, error)
	Update(int64, models.Movie) error
	Delete(int64) error
}

Jump to

Keyboard shortcuts

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