Skip to content

Commit 31c3a0b

Browse files
author
JChaput
authored
Update README.md
1 parent d7ce137 commit 31c3a0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
bone [![GoDoc](https://godoc.org/github.com/squiidz/bone?status.png)](http://godoc.org/github.com/go-zoo/bone) [![Build Status](https://travis-ci.org/go-zoo/bone.svg)](https://travis-ci.org/go-zoo/bone) [![Go Report Card](https://goreportcard.com/badge/go-zoo/bone)](https://goreportcard.com/report/go-zoo/bone)
22
=======
33

4-
[bone on Gitlab](https://gitlab.com/go-zoo/bone)
5-
64
## What is bone ?
75

86
Bone is a lightweight and lightning fast HTTP Multiplexer for Golang. It support :
@@ -31,8 +29,8 @@ Bone is a lightweight and lightning fast HTTP Multiplexer for Golang. It support
3129
- BenchmarkGorillaPatMux 1000000 1889 ns/op
3230
```
3331

34-
These test are just for fun, all these router are great and really efficient.
35-
Bone do not pretend to be the fastest router for every job.
32+
These tests are just for fun, all these routers are great and efficient.
33+
Bone isn't the fastest router for every job.
3634

3735
## Example
3836

@@ -57,7 +55,9 @@ func main () {
5755
})
5856

5957
// mux.Get, Post, etc ... takes http.Handler
58+
// validator for route parameter
6059
mux.Get("/home/:id|isNum", http.HandlerFunc(HomeHandler))
60+
// multiple parameter
6161
mux.Get("/profil/:id/:var", http.HandlerFunc(ProfilHandler))
6262
mux.Post("/data", http.HandlerFunc(DataHandler))
6363

0 commit comments

Comments
 (0)