Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type CategoryRepository ¶
type CategoryRepository struct {
*gorm.RepositoryBase
}
func NewCategoryRepository ¶
func NewCategoryRepository(c rdbms.DbContext) *CategoryRepository
func (*CategoryRepository) FindByID ¶
func (cr *CategoryRepository) FindByID(id string) (*Category, error)
func (*CategoryRepository) FindByUserID ¶
func (cr *CategoryRepository) FindByUserID(userID string, offset, limit int32) ([]Category, error)
type Expense ¶
type ExpenseRepository ¶
type ExpenseRepository struct {
*gorm.RepositoryBase
}
func NewExpenseRepository ¶
func NewExpenseRepository(c rdbms.DbContext) *ExpenseRepository
func (*ExpenseRepository) FindByID ¶
func (er *ExpenseRepository) FindByID(id string) (*Expense, error)
func (*ExpenseRepository) FindByUserID ¶
func (er *ExpenseRepository) FindByUserID(userID string, offset, limit int32) ([]Expense, error)
Click to show internal directories.
Click to hide internal directories.