Nineya
Home
Blog
Gin redirecting url not setting truly
2025-02-08 01:23:57
2025
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin Panic: runtime error: invalid memory address or nil pointer dereference
2025-02-08 01:23:54
1356
DescriptionWhen I using Gin http get request to get the result synchronously, the following panic occurrs. How to reprod...
Gin Is it possible to get all path param in a map?
2025-02-08 01:23:48
381
DescriptionThe function c.Request.URL.Query() return an map[string][]string with all queries parameters in request, i wa...
Gin {range} or {for} doenst work in template
2025-02-08 01:23:45
1624
I tried to add a simple modificaiton to the template example to go over a list and render the template but the standard ...
Gin A new method for parsing form data array type fields
2025-02-08 01:23:42
2025
go version: 1.9gin version (or commit ref): master branchoperating system: Descriptionthis image is my http post params...
Gin Order of middleware and route registration is important?
2025-02-08 01:23:34
1688
DescriptionA question about gin and middleware. If I add a global middleware, using router.Use, after creating a router....
Gin README.md error errA := c.ShouldBindBodyWith(&objA, binding.Form)
2025-02-08 01:23:31
6082
With issues: type formA struct { Foo string json:"foo" xml:"foo" binding:"required" }objA := formA{}c...
Gin *gin.Context.JSON http: panic serving 10.13.207.251:25692: %!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference) goroutine 1547630481 [running]: net/http.(*conn).serve.func1()
2025-02-08 01:23:29
5435
http: panic serving 10.13.207.251:25692: %!v(PANIC=Error method: runtime error: invalid memory address or nil pointer de...
Gin Panic: write tcp 192.168.17.17:8000->192.168.48.40:58806: wsasend: An existing connection was forcibly closed by the remote host
2025-02-08 01:23:26
7212
DescriptionI got this error when using a client app to get data from a gin server, and I am not sure what causing it:202...
Gin How to handle the checkbox status in a form?
2025-02-08 01:23:23
1694
DescriptionHi,After a lot of googling, I couldn't find anything.There is some content about Checkbox groups but it doesn...
Gin route conflict
2025-02-08 01:23:20
778
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin Error in grpc-go as gin middleware
2025-02-08 01:23:18
1234
DescriptionStatus code 404 is always returned when grpc-go is used as gin middleware, and it is normal when external grp...
Gin Session timeout
2025-02-08 01:23:15
955
How do I make a session timeout after X minutes of inactivity. All I seem to see is Fixed anount of minutes in the exam...
Gin fatal error: concurrent map read and map write
2025-02-08 01:23:12
1885
Using go 1.18.3 which seems to be the culprit. Any Ideas?fatal error: concurrent map read and map writegoroutine 3579099...
Gin code comment of Engine.UnescapePathValues
2025-02-08 01:23:08
922
Engine.UnescapePathValues comment make me confused.// If true, the path value will be unescaped.// If UseRawPath is fal...
Gin Undefined validation function 'required_if' on field 'Field'
2025-02-08 01:23:05
5547
DescriptionUndefined validation function 'required_if' on field 'Field'https://godoc.org/github.com/go-playground/valida...
Gin session存储数组/切片/map时,在当前也没有问题,其他页面会nil
2025-02-08 01:23:01
509
当使用session存储数组/切片/map数据类型是,在其他页面取出时会为nil,并且在没有报错的情况下导致其他后存入session的值也存储失败,全部都时nil,请看下图:Comment From: qiuyuyinplease engl...
Gin Possibility to return raw HTML?
2025-02-08 01:22:44
352
I see tons of example for returning JSON and HTML Templates, but nothing show how to just properly return some raw HTMLP...
Gin Why is the length of read context.request.body 0 after calling the context.postform() function ?
2025-02-08 01:22:41
1189
DescriptionWhy is the length of read context.request.body 0 after calling the context.postform() function ?How to repr...
Gin c.SetCookie function is missing expire field
2025-02-08 01:22:39
1559
DescriptionCurrently c.SetCookie does not accept cookie Expire field which is present in http.Cookie struct and might be...
上一页
下一页
1
…
211
212
213
214
215
…
2246
.