Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFoundID = errors.New("db: could not find ID")
)
Functions ¶
This section is empty.
Types ¶
type Paste ¶
type Paste struct { ID string `json:"id"` // Ignored when creating Title string `json:"title"` Body string `json:"body"` CreateTime int64 `json:"createTime"` // Ignored when creating DeleteTime int64 `json:"deleteTime"` OneUse bool `json:"oneUse"` Syntax string `json:"syntax"` Author string `json:"author"` AuthorEmail string `json:"authorEmail"` AuthorURL string `json:"authorURL"` }
Click to show internal directories.
Click to hide internal directories.