gotodos

package module
v0.0.0-...-21f569e Latest Latest
Warning

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

Go to latest
Published: May 30, 2013 License: Apache-2.0 Imports: 7 Imported by: 0

README

appengine-angular-gotodos

gotodos is an App Engine backend written in Go for the TODO list demo from Angular.js getting started documentation.

Demo

go-todos.appspot.com

APIs and libraries used

Language

Dependencies

Documentation

Overview

gotodos is an App Engine JSON backend for managing a todo list.

It supports the following commands:

- Create a new todo POST /todos > {"text": "do this"} < {"id": 1, "text": "do this", "created": 1356724843.0, "done": false}

- Update an existing todo POST /todos > {"id": 1, "text": "do this", "created": 1356724843.0, "done": true} < {"id": 1, "text": "do this", "created": 1356724843.0, "done": true}

- List existing todos: GET /todos > < [{"id": 1, "text": "do this", "created": 1356724843.0, "done": true},

{"id": 2, "text": "do that", "created": 1356724849.0, "done": false}]

- Delete 'done' todos: DELETE /todos > <

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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"`
}

Jump to

Keyboard shortcuts

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