fix(gin): literal colon routes not working with engine.Handler() (#4415)
* fix: call updateRouteTrees in ServeHTTP using sync.Once to support literal colon routes in all usage scenarios (#4413) * chore: fixed golangci-lint issue in test cases for literal colon * fix: gofumpt formatting issue * fix: gofumpt issue in gin.go * chore: updated routeTreesUpdated comments * chore: removed unused variable and updated TestUpdateRouteTreesCalledOnce testcase * chore: moved tests from literal_colon_test.go into gin_test.go --------- Co-authored-by: pawannn <pawan@zenz.tech>
P
Pawan Kalyan committed
5fad976b372e381312f8de69f0969f1284d229d3
Parent: 93ff771
Committed by GitHub <noreply@github.com>
on 11/16/2025, 1:22:07 AM