-
I am attempting to serve a Svelte site, and used the counter example as a starting point. I am able to use the development server with
```go
ui.Load("http://localhost:5000")
```
but when I want t…
-
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
-
## Description
QueryParam binding with property of `uuid.UUID` or `uuid.NullUUID` (Google) type in a struct doesn't work. Using these types in body works as expected.
## How to reproduce
``…
-
ami-m updated
4 years ago
-
- 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 and provide feedback or react to them…
-
page.tmpl
```html
{{.a}}
```
router code piece
```go
aEle = `I 'm tagA`
r.GET("/page", func(c *gin.Context) {
c.HTML(200, "page.tmpl", gin.H{"a":aEle,}})
})
```
resul…
-
Hi guys,
we discovered a problem here with the RedirectTrailingSlash feature.
func redirectTrailingSlash does redirect to absolute URLs which is a problem when the server is hidden behind a fowa…
-
## 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 is set to be 200.…
-
We emit method metrics in handler func like this:
```go
func(c *gin.Context) {
name := c.HandlerName()
//
emit(name, timeused)
}
```
it works well until we encounter decorato…
-
### What version of Go are you using (`go version`)?
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/sparcv9-sun-solaris2.11/11.2.0/lto-wrapper
T…