mirror of
https://github.com/kataras/iris.git
synced 2026-01-25 12:55:57 +00:00
fix misspells 🆎, previous commit: update to version 8.4.1 8a9a498316 [formerly 9e5f0a08049b83605aa847b8f51fb856427354a6]
Former-commit-id: d0f8c8018c14acc3b425b56c466f78a7b8e6fd84
This commit is contained in:
@@ -37,7 +37,7 @@ Add `context.Params().GetBool(paramName string) (bool, error)` respectfully.
|
||||
|
||||
```go
|
||||
app := iris.New()
|
||||
app.Get("/mypath/{has:boolean}", func(ctx iris.Context){ // <--
|
||||
app.Get("/mypath/{has:boolean}", func(ctx iris.Context) { // <--
|
||||
// boolean first return value
|
||||
// error as second return value
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user