customer

package
v0.0.0-...-4f5c9a4 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 2 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 {
	Select(ctx context.Context, app int64, all bool, isAdmin bool, uid string) (customers entity.Customers, err error)
	GetByID(ctx context.Context, app int64, id int64, all bool, isAdmin bool, uid string) (customer *entity.Customer, err error)
	Insert(ctx context.Context, customer *entity.Customer) (err error)
	Update(ctx context.Context, isAdmin bool, customer *entity.Customer) (err error)
	Delete(ctx context.Context, isAdmin bool, customer *entity.Customer) (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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