Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Income = Type{IncomeType} Expense = Type{ExpenseType} Transfer = Type{TransferType} )
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Count(ctx context.Context) (int64, error) GetAll(ctx context.Context) ([]*Transaction, error) GetPaginated(ctx context.Context, limit, offset int, sortBy []string) ([]*Transaction, error) GetByID(ctx context.Context, id int64) (*Transaction, error) Create(ctx context.Context, upload *Transaction) error Update(ctx context.Context, upload *Transaction) error Delete(ctx context.Context, id int64) error }
type Transaction ¶
Click to show internal directories.
Click to hide internal directories.