1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 03:47:04 +00:00

Nothing special(2): remaining linting

This commit is contained in:
Makis Maropoulos
2016-06-03 05:20:27 +03:00
parent a337b4768d
commit a3f3e7ebd2
4 changed files with 13 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ var routes = []route{
func TestRouter(t *testing.T) {
api := iris.New()
for idx, _ := range routes {
for idx := range routes {
r := routes[idx]
if r.Register {
api.HandleFunc(r.Method, r.Path, func(ctx *iris.Context) {