models

package
v0.0.0-...-377eb94 Latest Latest
Warning

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

Go to latest
Published: May 9, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	Id        bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"`
	Name      string        `json:"name"`
	Completed bool          `json:"completed"`
}

type TaskCollection

type TaskCollection struct {
	Data []Task `json:"data"`
}

type TaskResource

type TaskResource struct {
	Data Task `json:"data"`
}

type Test

type Test struct {
	Name      string
	Completed bool
}

Jump to

Keyboard shortcuts

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