From 1547ddac8d52a3babbbdbc6d0c77b70d8f491a1d Mon Sep 17 00:00:00 2001 From: 1911860538 Date: Tue, 22 Jul 2025 19:49:50 +0800 Subject: [PATCH] docs(context): fix AbortWithStatusPureJSON comment typo --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index cb3362fb..842ad2ff 100644 --- a/context.go +++ b/context.go @@ -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) {