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
Click to show internal directories.
Click to hide internal directories.