Documentation
¶
Index ¶
- func JSONResponse(c *gin.Context, body interface{}, status int)
- func JSONResponseBadRequest(c *gin.Context, message string)
- func JSONResponseCreated(c *gin.Context, body interface{})
- func JSONResponseError(c *gin.Context, err error)
- func JSONResponseNoContent(c *gin.Context)
- func JSONResponseOK(c *gin.Context, body interface{})
- type EntityURI
- type Service
- type UserService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONResponse ¶
func JSONResponseBadRequest ¶
func JSONResponseCreated ¶
func JSONResponseError ¶
func JSONResponseNoContent ¶
func JSONResponseOK ¶
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.