docs(context): fix AbortWithStatusPureJSON comment typo

This commit is contained in:
1911860538 2025-07-22 19:49:50 +08:00
parent e4c2a27624
commit 1547ddac8d

View File

@ -216,7 +216,7 @@ func (c *Context) AbortWithStatus(code int) {
c.Abort()
}
// AbortWithStatusJSON calls `Abort()` and then `PureJSON` internally.
// AbortWithStatusPureJSON calls `Abort()` and then `PureJSON` internally.
// This method stops the chain, writes the status code and return a JSON body without escaping.
// It also sets the Content-Type as "application/json".
func (c *Context) AbortWithStatusPureJSON(code int, jsonObj any) {