From 12600156ae0b908a731d31e43554e6fdb9da2148 Mon Sep 17 00:00:00 2001 From: pawannn Date: Mon, 10 Nov 2025 00:16:32 +0530 Subject: [PATCH] chore: updated routeTreesUpdated comments --- gin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gin.go b/gin.go index ff90a246..56ac689b 100644 --- a/gin.go +++ b/gin.go @@ -99,8 +99,7 @@ type Engine struct { RouterGroup // routeTreesUpdated ensures that the initialization or update of the route trees - // (used for routing HTTP requests) happens only once, even if called multiple times - // concurrently. It helps prevent race conditions and redundant setup operations. + // (used for routing HTTP requests) happens only once, even if called multiple times concurrently. routeTreesUpdated sync.Once // RedirectTrailingSlash enables automatic redirection if the current route can't be matched but a