Documentation
¶
Index ¶
- type PostController
- func (ctrl *PostController) Create(c *gin.Context)
- func (ctrl *PostController) Delete(c *gin.Context)
- func (ctrl *PostController) DeleteCollection(c *gin.Context)
- func (ctrl *PostController) Get(c *gin.Context)
- func (ctrl *PostController) List(c *gin.Context)
- func (ctrl *PostController) Update(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostController ¶
type PostController struct {
// contains filtered or unexported fields
}
PostController 是 post 模块在 Controller 层的实现,用来处理博客模块的请求.
func (*PostController) DeleteCollection ¶
func (ctrl *PostController) DeleteCollection(c *gin.Context)
DeleteCollection 批量删除博客.
Click to show internal directories.
Click to hide internal directories.