Documentation ¶
Overview ¶
customersService
Index ¶
- type CustomersService
- func (cs *CustomersService) AddCustomer(name string, gender string, age int, phone string, email string)
- func (cs *CustomersService) DeleteId(id int)
- func (cs *CustomersService) GetById(id int) int
- func (cs *CustomersService) List() []model.Customer
- func (cs *CustomersService) LoadCustomer()
- func (cs *CustomersService) SaveCustomer()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomersService ¶
func NewCustomers ¶
func NewCustomers() *CustomersService
func (*CustomersService) AddCustomer ¶
func (*CustomersService) DeleteId ¶
func (cs *CustomersService) DeleteId(id int)
func (*CustomersService) GetById ¶
func (cs *CustomersService) GetById(id int) int
func (*CustomersService) List ¶
func (cs *CustomersService) List() []model.Customer
func (*CustomersService) LoadCustomer ¶
func (cs *CustomersService) LoadCustomer()
func (*CustomersService) SaveCustomer ¶
func (cs *CustomersService) SaveCustomer()
Click to show internal directories.
Click to hide internal directories.