Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrForbidden = errors.New("Forbidden") ErrNotFound = errors.New("Resource not found") )
Functions ¶
Types ¶
type Article ¶
type Article struct { ID int `db:"id" json:"id" xml:"id"` Title string `db:"title" json:"title" xml:"title"` Data []string `db:"data,stringarray" json:"data" xml:"data"` CustomDataForAuthUsers string `db:"custom_data" json:"-" xml:"-"` }
Article is runtime object, that's not meant to be sent via REST.
Click to show internal directories.
Click to hide internal directories.