Skip to content

Commit

Permalink
fix misspells 🆎, previous commit: update to version 8.4.1 kataras@103…
Browse files Browse the repository at this point in the history
  • Loading branch information
hiveminded committed Sep 7, 2017
1 parent 10309e8 commit bf34ab2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
4 changes: 2 additions & 2 deletions core/router/macro/interpreter/ast/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions core/router/macro/macro.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf34ab2

Please sign in to comment.