-
As the doc said,
```
r.GET("/user/:name/*action"...
action := c.Params.ByName("action")
```
should return value string of **action**, but in fact it returns **/action** with the slash before param …
-
有不少package依赖是didi内部依赖库
如:
git.xiaojukeji.com/gobiz/config v0.0.10
git.xiaojukeji.com/gobiz/logger v1.4.7
git.xiaojukeji.com/gobiz/utils v1.0.1
git.xiaojukeji.com/lego/context-go v3.3.0+inco…
-
Why did you give up the project? It looks great and much better than Dom's Jester!
-
Do the following
- Document endpoints in handler comments
- Generate spec with [swag](https://github.com/swaggo/swag)
- Endpoint to serve UI
-
```
$ siad -d --api-addr=localhost:9980 --rpc-addr=:9981 -M 'ecg'
Loading...
(0/3) Loading siad...
(1/3) Loading gateway...
(2/3) Loading consensus...
(3/3) Loading explorer...
Finished loading…
-
Much like as in [an issue with gomanta](https://github.com/joyent/gomanta/issues/7#issuecomment-260431734) the test suite was not updated with the new router that was added in https://github.com/joyen…
-
Is it possible to do something like this:
``` rust
server.route("/api/v0/foo")
.get(middleware!{ ... })
.post(middleware!{ ... })
.put(middleware!{ ... });
```
-
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. Send a fairly simple Influx query to "http://XXXXXXXX/api/v2/write?org=XXXXXXXX&bucket=XXXXXXXX&precision=ms":…
-
*This issue was originally created by [**@S7evinK**](https://github.com/S7evinK) at .*
Since [gorilla/mux](https://github.com/gorilla/mux) is archived and not actively maintained, we should replace…
-
How can go-metrics be used with Prometheus? The farthest I came is:
```
package main
import (
"net/http"
"time"
"github.com/armon/go-metrics"
"github.com/armon/go-metrics/prometheus…