-
WARNING: DATA RACE
Write at 0x00c000087b40 by goroutine 36:
github.com/swaggo/gin-swagger.CustomWrapHandler.func1()
/golib/pkg/mod/github.com/swaggo/gin-swagger@v1.2.0/swagger.go:63 +0x169
…
-
mycode is:
```go
router := gin.New()
router.Use(gin.Recovery())
router.Use(func(ctx *gin.Context) {
requestGroup.Add(1)
defer requestGroup.Done()
ctx.Next()
})
router.Use(gi…
-
Eg. for `updateAccount` API, How to bind `uri` and `json` for the same struct?
```go
type updateAccountRequest struct {
ID int64 `uri:"id" binding:"required,min=1"`
Currency string `json…
-
## Description
c.Redirect(http.StatusTemporaryRedirect, "") can lead to open redirect vulnerability
## How to reproduce
```
package main
import (
"net/http"
"github.com/gin-gonic/gi…
-
I tried running from dev branch. Below is the log.
`
[[server]]
title = "make manager_run"
name = "manager_run"
address = ["foobar.cosmosdb.com:2379"]
key_prefix = "/"
desc = "docker way etc…
-
## Description
The gin code doesn't work, the router isn't registered and printed, and it doesn't panic
## How to reproduce
```golang
package main
import (
"net/http"
…
-
glide : 0.10.2
os : windows 7 32bit
this is my circumstance:
in my codebase, i have installed `gin-gonic` through command `glide get`. when i try to install `go-i18n`
through command `glide get gith…
-
I am trying to create middlware for gin-gonic that automatically adds a UUID for tracing purposes as a Header to all incoming requests, if one does not already exist. The code is below. However I'm ha…
-
```
let chunks: FileItemChunk[] = []
switch (fileExtension) {
case "csv":
chunks = await processCSV(blob)
break
case "json":
chunks = await processJSON(blob)
break
cas…
-
**Describe the bug**
A cgo bug again. But not appear very often.
```
[Switching to Thread 0x7f7fc9bb2700 (LWP 11)]
0x00007f7fd40d9cc0 in pthread_mutex_lock () from /lib64/libpthread.so.0
Missin…