Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { Id string `gorethink:"id" json:"id"` Title string `gorethink:"title" json:"title"` SectionsId []string `gorethink:"sections" json:"-"` Sections []*section.Section `gorethink:"-" json:"sections"` Existed bool `gorethink:"-" json:"-"` }
func (*Article) CreateFromRaw ¶
type ArticleRaw ¶
type DocumentList ¶
type DocumentList []*Document
func (DocumentList) Len ¶
func (a DocumentList) Len() int
func (DocumentList) Less ¶
func (a DocumentList) Less(i, j int) bool
func (DocumentList) Swap ¶
func (a DocumentList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.