gin icon indicating copy to clipboard operation
gin copied to clipboard

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

Results 524 gin issues
Sort by recently updated
recently updated
newest added

Can we export the `defaultLogFormatter` below (`DefaultLogFormatter`)? https://github.com/gin-gonic/gin/blob/bb1fc2e0fe97c63dab1527baab88d01183853b8f/logger.go#L132-L132 In doing so it would be very easy to configure any of the `gin.LogFormatterParams`, eg: ```go return gin.LoggerWithConfig(gin.LoggerConfig{ Formatter: func(param gin.LogFormatterParams) string...

- With issues: - Use the search tool before opening a new issue. - Please provide source code and commit sha if you found a bug. - Review existing issues...

## Description Currently we can add middlewares to gin routes. However, there is no easy way to add middleware "just before" the real HandlerFunc. Why this could be useful? For...

This allows users to use a single logger within their application for all printing, regardless of level. - With pull requests: - Open your pull request against `master` - Your...

## Description I have nginx as Reverse Proxy for [sing-box](https://github.com/SagerNet/sing-box) (VPN server) with following configuration ``` stream { map $ssl_preread_server_name $singbox { some.example.com trojan; } upstream trojan { server 127.0.0.1:8080;...

## Description I have a Middleware which adds the xml.Header string to every response body. As you can see in the Code Example provided this works flawlessly when the StatusCode...

- With issues: - Use the search tool before opening a new issue. - Please provide source code and commit sha if you found a bug. - Review existing issues...

- With issues: - Use the search tool before opening a new issue. - Please provide source code and commit sha if you found a bug. - Review existing issues...

- Vulnerability in gin framework: - Here is the description of the issue - https://github.com/advisories/GHSA-2c4m-59x9-fr2g ## Description ![image](https://github.com/gin-gonic/gin/assets/39632788/801bc1ec-0112-43c7-ac8e-113640f609ab) ## How to reproduce ![image](https://github.com/gin-gonic/gin/assets/39632788/5be0d060-e35a-4924-9d21-ca87a0dd5bad) ## Environment - go version: 1.19 -...

I am trying to define HTTP method COPY in my gin router as defined by RFC 4918 specification but gin router group does not support it. It only supports POST,...