models

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2014 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultTodoList

func DefaultTodoList(c appengine.Context) *datastore.Key

Types

type Todo

type Todo struct {
	Id      int64     `json:"id" datastore:"-"`
	Text    string    `json:"text" datastore:",noindex"`
	Done    bool      `json:"done"`
	Created time.Time `json:"created"`
}

func (*Todo) Save

func (t *Todo) Save(c appengine.Context) (*Todo, error)

Jump to

Keyboard shortcuts

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