JSONSuccess responses JSON with status http.StatusOK.
(data any)
| 126 | |
| 127 | // JSONSuccess responses JSON with status http.StatusOK. |
| 128 | func (c *Context) JSONSuccess(data any) { |
| 129 | c.JSON(http.StatusOK, data) |
| 130 | } |
| 131 | |
| 132 | // RawRedirect simply calls underlying Redirect method with no escape. |
| 133 | func (c *Context) RawRedirect(location string, status ...int) { |
no outgoing calls
no test coverage detected