Documentation ¶
Index ¶
- type TaskService
- type TaskServiceSql
- func (s TaskServiceSql) Create(name string) (*models.Task, error)
- func (s TaskServiceSql) Get(id int) (*models.Task, error)
- func (s TaskServiceSql) GetAll() ([]*models.Task, error)
- func (s TaskServiceSql) GetComplete() ([]*models.Task, error)
- func (s TaskServiceSql) GetIncomplete() ([]*models.Task, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskService ¶
type TaskServiceSql ¶
func (TaskServiceSql) GetComplete ¶
func (s TaskServiceSql) GetComplete() ([]*models.Task, error)
func (TaskServiceSql) GetIncomplete ¶
func (s TaskServiceSql) GetIncomplete() ([]*models.Task, error)
Click to show internal directories.
Click to hide internal directories.