Gin grouping routes and middleware not working

I am trying to add this middleware func CORS () gin.HandlerFunc { return func(context *gin.Context) { context....

Gin random bytedance dependency (potentially) injected into github.com/gin-gonic/gin/internal/json

Good day,While reviewing some of my go.mod files, I have noticed these indirect dependencies: github.com/bytedance/so...

Gin How to support both URI and map parameter binding with shouldBind

``type GetListReq struct { Id stringuri:"id" binding:"required,len=32"Order map[string]stringform:"order"L...

Gin proposal: gin/v2?

based on https://github.com/golang/go/discussions/63397 (encoding/json/v2) and https://github.com/gin-gonic/gin/pull/339...

Gin Disallow unknown fields on bind

Hi,In Gin, we use ShouldBindJSON and ShouldBindQuery to deserialize and validate the request body/query parameters.Is th...

Gin Graceful shutdown but was still able to send request while shutting down

I’m using the example from here: https://gin-gonic.com/en/docs/examples/graceful-restart-or-stop/When I send a shutdown ...

Gin Status() not setting up status in response for unit test

Descriptionctx.Status(http.StatusCreated) is not setting up status in response and I am always getting 200.But If I add ...

Gin Blank Search Box

I just wanted to search something.... but the search bar opens and shows nothing........just a blank box.......Comment F...

Gin render.TOMLContentType should not be exported

render.TOMLContentType should not be exported. If it is accidentally tampered with, it will affect the client's parsing ...

Gin Improved GoDoc in test_helpers.go

Expected EffectI have made it clearer when and how to use these helper functions by making the GoDoc comments a bit more...

Gin Release: Publish Gin 1.11.0

[ ] Prepare a new changelog (there are a lot of new changes) and update CHANGELOG.md[ ] Update "version.go" to 1.11.0[ ]...

Gin Static Route throwing error

Hey I am having trouble to implement a full frontend in my backend.I have a directory called public where a index.html i...

Gin Route matching format

Can the route matching of the gin framework support Google's RESTful specification, currently only supports the /:id/upd...

Gin Test Coverage Failure: Go 1.23+ Warning Branch Not Covered in CI Pipeline

Problem DescriptionThe CI automated testing pipeline is failing due to insufficient test coverage in the debug.go file. ...

Gin Support for optional trailing slash

Hi, I tried looking around existing issues but I could not see anything related. So, I would like to know if there is a ...

Gin why does this print log in console?

errors.goI have the error handler middleware,but it print log in console

Gin 🎯 [Community Resource] Interactive Gin Learning Platform

Request: Add to Community ResourcesHey Gin team! 👋I've built an interactive learning platform specifically for Gin frame...

Gin How can I bind from form-data with array objects ?

I have form-data like send by using postman. But I don't know how to create struct to bind that dataAnyone can have me p...

Gin Binding array of objects from post form

DescriptionAre there a possibility to bind post form values from array of objects using gin?How to reproduceI have post ...

Gin 如何优雅的裹一层json response

在调研gin作为网关的可用性我想针对其他服务返回的response,再裹一层json规范例如:{"success":true"data": #其他response}针对这种场景是使用了网上搜索的方式,添加一个 gin.HandlerFunc...

下一页
.