minor example fix (design change that was actually not pushed)

Former-commit-id: db253c191bad711b592d914d386675bf118e497c
This commit is contained in:
Gerasimos (Makis) Maropoulos 2020-06-08 05:19:12 +03:00
parent 7bb2223226
commit 6d977dacd2

View File

@ -72,7 +72,7 @@ func (r *customRouter) RouteExists(ctx iris.Context, method, path string) bool {
return false 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 // responseStatusCode := ctx.GetStatusCode() // set by prior ctx.StatusCode calls
// [...] // [...]
} }