comment

package
v0.0.0-...-c937b9e Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Scan  = Type("scan")
	Issue = Type("issue")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Id      bson.ObjectId `json:"id" bson:"_id"`
	Created time.Time     `json:"created,omitempty" description:"when item is created"`
	Updated time.Time     `json:"updated,omitempty" description:"when item is updated"`
	Owner   bson.ObjectId `json:"owner" bson:"owner" description:"user who created a comment"`
	Text    string        `json:"text" description:"raw markdown text"`

	Type Type          `json:"-"`
	Link bson.ObjectId `json:"-"`
}

type CommentList

type CommentList struct {
	pagination.Meta `json:",inline"`
	Results         []*Comment `json:"results"`
}

type Type

type Type string

Jump to

Keyboard shortcuts

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