Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRepository ¶
type AccountRepository interface { // GetByID returns an account by its ID. GetByID(id uuid.UUID) (account *entity.Account, err error) // GetByUserID returns an account by its user ID. GetByUserID(userID int64) (account *entity.Account, err error) // Create creates a new account. Create(account *entity.Account) (err error) // Update updates an account. Update(account *entity.Account) (err error) }
AccountRepository interface defines the methods that the account repository must implement.
Click to show internal directories.
Click to hide internal directories.