Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Article ¶
type Article struct { ID string `json:"-"` Dictionary dictionary.Dictionary `json:"-"` Title string Content string Headword []string HeadwordAlt []string Suggest []Suggest Prefix []Prefix }
Article represents an article entity
func Get ¶
func Get(d dictionary.Dictionary, articleID string) (Article, error)
Get gets one article from the storage
Click to show internal directories.
Click to hide internal directories.