repository

package
v0.0.0-...-13e9ea1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 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 Customer

type Customer interface {
	GetById(id string) (entity.Customer, error)
	GetByUsername(username string) (entity.Customer, error)
	GetByEmailAndPassword(email string, password string) (entity.Customer, error)
	// add limit and offset
	GetAll() ([]entity.Customer, error)
	Create(event entity.Customer) error
	Update(event entity.Customer) error
	Delete(id string) error
}

Jump to

Keyboard shortcuts

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