From 6d977dacd2821f690e867ebfabb795046cebb923 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Mon, 8 Jun 2020 05:19:12 +0300 Subject: [PATCH] minor example fix (design change that was actually not pushed) Former-commit-id: db253c191bad711b592d914d386675bf118e497c --- _examples/routing/custom-router/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_examples/routing/custom-router/main.go b/_examples/routing/custom-router/main.go index d7d20eb9..5d9e8e4b 100644 --- a/_examples/routing/custom-router/main.go +++ b/_examples/routing/custom-router/main.go @@ -72,7 +72,7 @@ func (r *customRouter) RouteExists(ctx iris.Context, method, path string) bool { return false } -func (r *customRouter) FireErrorCode(ctx iris.Context, reset bool) { +func (r *customRouter) FireErrorCode(ctx iris.Context) { // responseStatusCode := ctx.GetStatusCode() // set by prior ctx.StatusCode calls // [...] }