repositories

package
v0.0.0-...-14e3455 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetAll(paginator domain.PaginatorDTO) ([]*domain.UserAccount, error)
	Get(ID string) (*domain.UserAccount, error)
	Save(u *domain.UserAccount) error
	Update(u *domain.UserAccount) error
	Delete(ID string) error
}

func NewService

func NewService(db *sql.DB) Repository

Jump to

Keyboard shortcuts

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