store

package
v0.0.0-...-b14964a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTodo

func CreateTodo(t types.Todo) types.Todo

CreateTodo takes a todo and creates an instance of a todo, including the todo id.

func DeleteTodo

func DeleteTodo(id int) error

DeleteTodo removes a todo by id from the list of todo's.

func ListTodo

func ListTodo(id int) types.Todo

ListTodo takes a todo id and returns the associated todo.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL