Documentation ¶
Index ¶
- type ListInvoicesFilter
- type Model
- type Storage
- func (s *Storage) CreateInvoice(ctx context.Context, invoice *models.Invoice) (*models.Invoice, error)
- func (s *Storage) ListInvoices(ctx context.Context, filter ListInvoicesFilter, pagination postgres.Pagination) ([]*models.Invoice, error)
- func (s *Storage) UpdateInvoice(ctx context.Context, invoice *models.Invoice) (*models.Invoice, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListInvoicesFilter ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) CreateInvoice ¶
func (*Storage) ListInvoices ¶
func (s *Storage) ListInvoices(ctx context.Context, filter ListInvoicesFilter, pagination postgres.Pagination) ([]*models.Invoice, error)
Click to show internal directories.
Click to hide internal directories.