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

Add some _examples in the main repository too.

Former-commit-id: 98895c34115ec2076b431332f0ffe9645adf7590
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-03-13 15:16:12 +02:00
parent d76d9b1ec6
commit f487cd0029
29 changed files with 1318 additions and 248 deletions

View File

@@ -32,10 +32,6 @@ func TestRouterWrapperPolicySimple(t *testing.T) {
// w2 -> w1 -> httprouter -> handler
)
app.OnError(StatusNotFound, func(ctx *Context) {
ctx.Writef("not found")
})
app.Get("/", func(ctx *Context) {
ctx.Write([]byte("OK"))
})