Documentation ¶ Index ¶ func Count(c context.Context) (int, error) func Store(c context.Context, task *Task) error type Task func Get(c context.Context, taskID string) (*Task, error) func GetAll(c context.Context) ([]*Task, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Count ¶ func Count(c context.Context) (int, error) func Store ¶ func Store(c context.Context, task *Task) error Types ¶ type Task ¶ type Task struct { TaskID string `datastore:"-"` Title string `datastore:"title"` } func Get ¶ func Get(c context.Context, taskID string) (*Task, error) func GetAll ¶ func GetAll(c context.Context) ([]*Task, error) Source Files ¶ View all Source files task.go task_persistence.go Click to show internal directories. Click to hide internal directories.