Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { ID uint64 `json:"-"` Slug string `json:"slug"` Title string `json:"title"` Description string `json:"description"` Body string `json:"body"` Author *org.Profile `json:"author" pg:"rel:has-one"` AuthorID uint64 `json:"-"` Tags []ArticleTag `json:"-" pg:"rel:has-many"` TagList []string `json:"tagList" pg:"-,array"` Favorited bool `json:"favorited" pg:"-"` FavoritesCount int `json:"favoritesCount" pg:"-"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` // contains filtered or unexported fields }
type ArticleFilter ¶
type ArticleTag ¶
type FavoriteArticle ¶
Click to show internal directories.
Click to hide internal directories.