repository

package
v0.0.0-...-3fa5e2b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	GetAllUsers() ([]user.User, error)
	GetUserByID(id int) (user.User, error)
	GetUserByEmail(email string) (user.User, error)
	CreateUser(user *user.User) (*user.User, error)
	UpdateUser(user user.User) (user.User, error)
	DeleteUser(id int) error
}

func New

func New() (Store, error)

Jump to

Keyboard shortcuts

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