20 lines
361 B
Go
20 lines
361 B
Go
package library
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
type Controller struct {
|
|
}
|
|
|
|
func NewLibraryController() *Controller {
|
|
return &Controller{}
|
|
}
|
|
|
|
// Library 获取当前用户的资料库 godoc
|
|
// @Success 200 {array} models.CurrentUserResponse
|
|
// @Router / [get]
|
|
func (c *Controller) Library(ctx *gin.Context) {
|
|
ctx.JSON(200, gin.H{
|
|
"message": "ok",
|
|
})
|
|
}
|