-
## Description
My project use [gorm](https://gorm.io/) and I will pass `context.Context` to this query functions, whether can pass `*gin.Context` as `context.Context` to this functions?
-
### What happened?
I use onedrive business and local as webdav directory via alist and cloudreve. Both of them have the same issue with remotely-sync. At first remotely-sync will upload file into w…
-
as the number of users increases, the methods you provide will certainly be used by users, with or without commitment.
## Description
as the title suggests, When the following situation is encou…
-
I was wondering if there is any issues reported regarding GIN shutting down with no reason. Runs for 3 days to a week with no service hits. then app shutdowns. I got a start up script that runs if the…
-
#### golang.org/x/net
- Affected versions:< 0.7.0
- Patched version:0.7.0
- Description : A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, suffici…
-
Please take a look at the following code
```go
package main
import (
"github.com/gin-gonic/gin"
)
func main() {
r := gin.New()
r.GET("/ping", func(c *gin.Context) { c.JSON(200, gin.H{…
-
```
// trace info
type TraceInfo struct{
Id_ bson.ObjectId `form:"_id" json:"_id" bson:"_id"`
Search SearchInfo `form:"search" json:"search" bson:"search"`
}
// search
type SearchI…
-
I want to bind URI params and JSON payload in the same struct, How can I do this?
```
type UpdateRequest struct {
ID uint64 `uri:"id" binding:"required"`
Data struct {
Name st…
-
## Summary
A runtime panic occurs occasionally for some PUT `/events` calls.
## Stacktrace
```
goroutine 4412385 [running]:
runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26…
-
## Description
I'm aware this a not a simple issue.
gin sse support is fundamentally flawed/broken.
If it ever worked, it doesn't work anymore.
At least behind nginx (nginx version: nginx/1.20…