Skip to content

Commit

Permalink
Fix indent on README
Browse files Browse the repository at this point in the history
  • Loading branch information
wreulicke committed Apr 29, 2020
1 parent f33679b commit d3d9f03
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 @@ -139,7 +139,7 @@ type Request struct {
}

func main() {
pool, _ := ants.NewPoolWithFunc(100000, func(payload interface{}) {
pool, _ := ants.NewPoolWithFunc(100000, func(payload interface{}) {
request, ok := payload.(*Request)
if !ok {
return
Expand All @@ -152,7 +152,7 @@ func main() {
}(request.Param)

request.Result <- reverseParam
})
})
defer pool.Release()

http.HandleFunc("/reverse", func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit d3d9f03

Please sign in to comment.