Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomerDb ¶
type CustomerDb struct {
// contains filtered or unexported fields
}
func NewCustomerDb ¶
func NewCustomerDb(db *sql.DB) *CustomerDb
func (*CustomerDb) FindByCpf ¶
func (c *CustomerDb) FindByCpf(cpf string) (customers.CustomerInterface, error)
func (*CustomerDb) Save ¶
func (c *CustomerDb) Save(customer customers.CustomerInterface) (customers.CustomerInterface, error)
Click to show internal directories.
Click to hide internal directories.