Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type Repository ¶
type Repository interface { List() ([]dto.Task, error) Get(id int) (dto.Task, error) Create(t *dto.Task) (*dto.Task, error) Update(id int, t *dto.Task) (*dto.Task, error) Delete(id int) (dto.Task, error) }
func NewRepository ¶
func NewRepository(db *dbcontext.DB, l log.Logger) Repository
Click to show internal directories.
Click to hide internal directories.