service

package
v0.0.0-...-2bf1368 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 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 CustomerService

type CustomerService struct {
	// contains filtered or unexported fields
}

func NewCustomerService

func NewCustomerService() CustomerService

func (*CustomerService) Add

func (this *CustomerService) Add(customer model.Customer)

func (*CustomerService) Delete

func (this *CustomerService) Delete(id string) bool

func (*CustomerService) FindById

func (this *CustomerService) FindById(id string) int

func (*CustomerService) List

func (this *CustomerService) List() []model.Customer

func (*CustomerService) Update

func (this *CustomerService) Update(id string) bool

Jump to

Keyboard shortcuts

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