docs(context): fix AbortWithStatusPureJSON comment typo (#4310)

Co-authored-by: 1911860538 <alxps1911@gmail.com>
This commit is contained in:
Name
2025-07-22 21:36:47 +08:00
committed by GitHub
parent e4c2a27624
commit 9708475b3b
+1 -1
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) {