store

package
Version: 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL