Documentation ¶
Overview ¶
templ: version: v0.2.513
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
type Dashboard struct {
// contains filtered or unexported fields
}
func New ¶
func New( repository Repository, walletRepository WalletRepository, transactionsService TransactionsService, log *slog.Logger, ) *Dashboard
type Repository ¶
type RepositoryImpl ¶
type RepositoryImpl struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *sqlx.DB) *RepositoryImpl
func (*RepositoryImpl) GetTransactions ¶
func (r *RepositoryImpl) GetTransactions(ctx context.Context, walletId, year int, month time.Month) ([]*models.Transaction, error)
type TransactionsService ¶
type TransactionsService interface {
ExpandTags(ctx context.Context, transactions []*models.Transaction) error
}
Click to show internal directories.
Click to hide internal directories.