Versions in this module Expand all Collapse all v0 v0.1.0 Aug 2, 2026 Changes in this version + func NewUserRepository(cm *querier.ConnectionManager) *userRepositoryImpl + type Balance struct + Amount int + UserID int + type User struct + Enabled bool + ID int + Name string + type UserBalance struct + type UserRepository interface + Create func(ctx context.Context, name string, enabled bool) (int, error) + DeleteById func(ctx context.Context, id int) (int, error) + FindAll func(ctx context.Context, enabled *bool, minId *int) ([]*User, error) + FindAllValues func(ctx context.Context) ([]User, error) + FindById func(ctx context.Context, id int) (*User, error) + FindByIdSync func(id int) (*User, error) + FindWithBalance func(ctx context.Context, id int) (*UserBalance, error) + ListWithBalances func(ctx context.Context) ([]*UserBalance, error) + Rename func(ctx context.Context, id int, name string) error + SelectColumns func(ctx context.Context, cols string) ([]*User, error) + UpdateEnabled func(ctx context.Context, id int, enabled bool) (int, error)