models

package
v0.0.0-...-cbdd806 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MovieModel

type MovieModel interface {
	Add(movie operation.Movie)
	Update(movie operation.Movie)
	Delete(movie operation.Movie)
	GetAll() []operation.Movie
	GetOne(id uint64) operation.Movie
	AddUser(newuser user.User)
	GetUser(username string) user.User
	GetAllUsers() []user.User
}

func NewModelDB

func NewModelDB() MovieModel

Jump to

Keyboard shortcuts

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