Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { GetAll(paginator domain.PaginatorDTO) ([]*domain.UserAccount, error) Get(ID string) (*domain.UserAccount, error) Save(u *domain.UserAccount) error Update(u *domain.UserAccount) error Delete(ID string) error }
func NewService ¶
func NewService(db *sql.DB) Repository
Click to show internal directories.
Click to hide internal directories.