repositories

package
v0.0.0-...-603eb22 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Add(user *models.User) *models.User
	Remove(ID string) (*models.User, error)
	Update(ID string, user *models.User) (*models.User, error)
	FindByID(ID string) (*models.User, error)
	FindAll() *[]models.User
}

func NewUserRepository

func NewUserRepository() Repository

Jump to

Keyboard shortcuts

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