Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ TRAFFIC_ENV=production your-executable-name

## Installation

Dowload the `Traffic` code:
Download the `Traffic` code:

```bash
go get github.com/pilu/traffic
```

Build the command line tool:
Build the command-line tool:

```bash
go get github.com/pilu/traffic/traffic
Expand All @@ -60,7 +60,7 @@ go build && ./hello
You can use [Fresh](https://github.com/pilu/fresh) if you want to build and restart your application every time you create/modify/delete a file.

## Example:
The following code is a simple example, the documentation in still in development.
The following code is a simple example, the documentation is still in development.
For more examples check the `examples` folder.

```go
Expand Down Expand Up @@ -98,7 +98,7 @@ func main() {
You can also add "before filters" to all your routes or just to some of them:

```go
router := traffic.New()
router: = traffic.New()

// Executed before all handlers
router.AddBeforeFilter(checkApiKey).
Expand Down