Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoService ¶
type TodoService interface { Add(text string) (map[string]interface{}, error) List() ([]map[string]interface{}, error) Delete(id string) error Complete(id string) (map[string]interface{}, error) }
TodoService ...
func NewTodoService ¶
func NewTodoService(dbUser, dbPassword, dbHost, dbName string) (TodoService, error)
NewTodoService ...
Click to show internal directories.
Click to hide internal directories.