Documentation ¶ Index ¶ func GetArticleDetailHandler(ctx *gin.Context) type RepArticle Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetArticleDetailHandler ¶ func GetArticleDetailHandler(ctx *gin.Context) 获取用户信息 Types ¶ type RepArticle ¶ type RepArticle struct { Id int `json:"id"` Title string `json:"name"` Content string `json:"content"` Cat int `json:"cat"` AuthorId int `json:"author_id"` AuthorName string `json:"author_name"` Created string `json:"created"` } 响应参数(Proto定义) Source Files ¶ View all Source files article_handler.go Click to show internal directories. Click to hide internal directories.