Skip to content

Commit

Permalink
Add docs for atoi template function
Browse files Browse the repository at this point in the history
  • Loading branch information
okushchenko committed Feb 20, 2018
1 parent d84d890 commit 7b7d6fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,14 @@ Wrapper for [net.LookupIP](https://golang.org/pkg/net/#LookupIP) function. The w
{{end}}
```

### atoi

Alias for the [strconv.Atoi](https://golang.org/pkg/strconv/#Atoi) function.

```
{{seq 1 (atoi (getv "/count"))}}
```

## Example Usage

```Bash
Expand Down

0 comments on commit 7b7d6fc

Please sign in to comment.