Documentation
¶
Index ¶
- func Create(s SQL) (interface{}, error)
- func Delete(s SQL) error
- func List(s SQL) (interface{}, error)
- func Read(s SQL) (interface{}, error)
- func Update(s SQL) error
- type Company
- type Entry
- type Invoice
- func (s *Invoice) Create(db *mysql.DB) (interface{}, error)
- func (s *Invoice) Delete(db *mysql.DB) error
- func (s *Invoice) GetTotalHours(db *mysql.DB, invoice_id int) (float64, error)
- func (s *Invoice) List(db *mysql.DB) (interface{}, error)
- func (s *Invoice) Read(db *mysql.DB) (interface{}, error)
- func (s *Invoice) Update(db *mysql.DB) error
- type SQL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Company ¶
func NewCompany ¶
func NewCompany(payload interface{}) *Company
type Invoice ¶
func NewInvoice ¶
func NewInvoice(payload interface{}) *Invoice
func (*Invoice) GetTotalHours ¶
Click to show internal directories.
Click to hide internal directories.