Documentation ¶ Overview ¶ Code generated by goctl. DO NOT EDIT. Index ¶ type ArticleReq type ArticleResp Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ArticleReq ¶ type ArticleReq struct { Title string `json:"title" redis:"title"` Link string `json:"link" redis:"link"` Poster string `json:"poster" redis:"poster"` Time string `json:"time" redis:"time"` Votes int `json:"votes" redis:"votes"` } type ArticleResp ¶ type ArticleResp struct { Code int `json:"code"` Msg string `json:"msg"` } Source Files ¶ View all Source files types.go Click to show internal directories. Click to hide internal directories.