Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
kataras committed Jul 14, 2020
1 parent 2bfa08c commit 8111d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
}
```

> The `Get(r)` functions calls the `Default.Get(r)` method
> The `Get(r)` function calls the `Default.Get(r)` method
### Options

Expand Down Expand Up @@ -87,7 +87,7 @@ func main() {
myOptions.AddRange("192.168.0.0", "192.168.255.255")

// [...]
http.HandleFunc("/", handler(opts))
http.HandleFunc("/", handler(myOptions))
}

func handler(opts *realip.Options) http.HandlerFunc {
Expand Down

0 comments on commit 8111d3f

Please sign in to comment.