Documentation ¶
Index ¶
- func CustomersSerialize(c Customers, filename string) error
- func GetConnection() (*sql.DB, error)
- type Customer
- func (c *Customer) AddCustomer(db *sql.DB) (int64, error)
- func (c *Customer) FindAll(db *sql.DB) (Customers, error)
- func (c *Customer) FindAllPrepared(db *sql.DB) (Customers, error)
- func (c *Customer) FindById(db *sql.DB, id int64) (Customer, error)
- func (c *Customer) FindToJson(db *sql.DB, state string) (Customers, error)
- func (c *Customer) UpdateCustomer(db *sql.DB, id int64) (int64, error)
- type Customers
- type Dato
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomersSerialize ¶
func GetConnection ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.