Kristian Köhler
Kristian Köhler
Hi, gin works as expected. You register your handle to react on HTTP-Method "GOT", which is not defined in the HTTP-Spec (see https://www.rfc-editor.org/rfc/rfc9110.html#name-methods). `r.Handle("GOT"...` Change this to "GET" or better...
I've added a pull request to the cors contrib package: https://github.com/gin-contrib/cors/pull/167
How do you call the Gin-Server? For me IPv6 adresses are shown in the log if the client calls with an IPv6 adress: Call with curl an IPv6: `curl -6...
> @kkoehler Please add more testing. @appleboy added some tests to the pull request
I've created a pull request for that. see link
The following sample works with the pull request ``` package main import ( "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" "google.golang.org/protobuf/types/known/structpb" ) func main() { g := gin.Default() testData, _ := structpb.NewStruct(map[string]interface{}{ "key": "value", })...