Documentation ¶ Index ¶ func Get(c *gin.Context) type CreateResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get(c *gin.Context) Get 获取用户信息 @Summary 通过用户id获取用户信息 @Description Get an user by user id @Tags 用户 @Accept json @Produce json @Param id path string true "用户id" @Success 200 {object} model.UserInfo "用户信息" @Router /users/:id [get] Types ¶ type CreateResponse ¶ type CreateResponse struct { Model string `json:"model"` } StartJobResponse 开始任务回应 Source Files ¶ View all Source files job.go start.go Click to show internal directories. Click to hide internal directories.