From af3c6bf0a819c9b3c9869fbc4efa18f7506c26cd Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Wed, 14 Jun 2023 22:18:42 +0800 Subject: [PATCH] fix New's doc In the list, replace spaces with tabs. --- gin.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gin.go b/gin.go index ed8b6dad..0bae3b45 100644 --- a/gin.go +++ b/gin.go @@ -174,12 +174,12 @@ var _ IRouter = (*Engine)(nil) // New returns a new blank Engine instance without any middleware attached. // By default, the configuration is: -// - RedirectTrailingSlash: true -// - RedirectFixedPath: false -// - HandleMethodNotAllowed: false -// - ForwardedByClientIP: true -// - UseRawPath: false -// - UnescapePathValues: true +// - RedirectTrailingSlash: true +// - RedirectFixedPath: false +// - HandleMethodNotAllowed: false +// - ForwardedByClientIP: true +// - UseRawPath: false +// - UnescapePathValues: true func New() *Engine { debugPrintWARNINGNew() engine := &Engine{