fix misspells 🆎, previous commit: update to version 8.4.1 8a9a498316 [formerly 9e5f0a08049b83605aa847b8f51fb856427354a6]

Former-commit-id: d0f8c8018c14acc3b425b56c466f78a7b8e6fd84
This commit is contained in:
hiveminded 2017-09-07 16:24:30 +03:00
parent 8a9a498316
commit f23e21f747
4 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ First of all read our [Code of Conduct](https://github.com/kataras/iris/tree/mas
* Write version of your local Go programming language.
* Describe your problem, what did you expect to see and what you see instead.
* If it's a feature request, describe your idea as better as you can
* optionally, navigate to the [chat](https://kataras.rocket.chat/channel/iris) to push other members to participate and share their thoughts about your briliant idea.
* optionally, navigate to the [chat](https://kataras.rocket.chat/channel/iris) to push other members to participate and share their thoughts about your brilliant idea.
2. Fork the [repository](https://github.com/kataras/iris).
3. Make your changes.
4. Compare & Push the PR from [here](https://github.com/kataras/iris/compare).

View File

@ -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
//

View File

@ -18,11 +18,11 @@ const (
// Declaration: /mypath/{myparam:string} or /mypath{myparam}
ParamTypeString
// ParamTypeInt is the integer, a number type.
// Allows only possitive numbers (0-9)
// Allows only positive numbers (0-9)
// Declaration: /mypath/{myparam:int}
ParamTypeInt
// ParamTypeLong is the integer, a number type.
// Allows only possitive numbers (0-9)
// Allows only positive numbers (0-9)
// Declaration: /mypath/{myparam:long}
ParamTypeLong
// ParamTypeBoolean is the bool type.

View File

@ -215,11 +215,11 @@ type Map struct {
// anything
String *Macro
// uint type
// only possitive numbers (+0-9)
// only positive numbers (+0-9)
// it could be uint/uint32 but we keep int for simplicity
Int *Macro
// long an int64 type
// only possitive numbers (+0-9)
// only positive numbers (+0-9)
// it could be uint64 but we keep int64 for simplicity
Long *Macro
// boolean as bool type