Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoService ¶
type TodoService interface { GetList() ([]models.Todo, error) Create(todo models.Todo) (models.Todo, error) Complete(id string) error Delete(id string) error }
func NewTodoService ¶
func NewTodoService() TodoService
type TodoServiceImpl ¶
type TodoServiceImpl struct {
// contains filtered or unexported fields
}
func (*TodoServiceImpl) Complete ¶
func (service *TodoServiceImpl) Complete(id string) error
func (*TodoServiceImpl) Delete ¶
func (service *TodoServiceImpl) Delete(id string) error
Click to show internal directories.
Click to hide internal directories.