-
unable to specify catchall route handler if a named route exist at the same level
issue:
- it appears i cannot have a catchall route at the same level of a named route?
purpose:
- I want to …
-
## Description
I'm trying to use gin to build a k8s restapi service,but it seems that there is something wrong with gin’s routing function.
## Details
I have defined the following two routes to h…
-
Instrumentation of this tool reports metrics like:
```
"metric": {
"__name__": "http_requests_total",
"instance": "statsd-proxy:80",
"job": "statsd-proxy",…
-
## Description
`c.FullPath()` output incorrect relative path
## How to reproduce
```go
func HTTPRouter(r gin.IRouter) {
r.GET("/fullpathadfaadfaf", func(c *gin.Context) {
fmt.Println(c.F…
-
Right now we ignore all errors. Server is stable, but users might get confused. Look into sending helpful messages:
- when config is invalid
- when internal errors happen
-
Hello!
I would like know if is possible put a name to routes like as:
``` go
router := httprouter.New()
router.GET("/hello/:name", Hello).Name("hello")
....
routeHello := router.GetRoute(…
-
Or some CMS, possibly as a CLI.
Example archs:
```js
blog/
- 2017/
- 03/
- 11/
- Title.ext // something that can be xcoverted to an obj
```
```js
blog/
- 2017-03-1…
-
Hi @julienschmidt,
While working on Telegram/Slack/Messenger Bot, I was in need something similar to HTTP Router but for routing messages in order to eliminate creating huge state machine. httprout…
-
Any path added to secureRouter returns 404 - page not found error.
-
I'd like to handle an HTTP GET request, like this:
`/search/projects?page=0&min=0&max=10000&ids=57,28,55,53,51,611,619,610,578,96,4,177`
As far as I see in the docs only one parameter is mentio…