Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 1, 2017
1 parent 901e197 commit 04b7b62
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FastRouter also provides some useful features, such as **grouping** and **middle

# Features

**Fast**: See [Benchmark](#benchamrk)
**Fast**: See [Benchmark](#benchmark)

**Flexible**: FastRouter export some useful options for you:
- TrailingSlashesPolicy: there are four policies available:
Expand All @@ -30,10 +30,10 @@ FastRouter also provides some useful features, such as **grouping** and **middle
**Compatible**: FastRouter is an implementation of http.Handler, so it is compatible with third-party packages.

**Middleware**: Middleware is a chaining tool for chaining `http.Handler`,
see [Middleware example](https://godoc.org/github.com/razonyang/fastrouter#example_Middleware).
see [Middleware](https://godoc.org/github.com/razonyang/fastrouter#Middleware).

**Grouping**: Grouping is an useful feature of FastRouter, it allows to nest and specify middleware of group,
see [Grouping example](https://godoc.org/github.com/razonyang/fastrouter#example_Router_Group).
see [Grouping](https://godoc.org/github.com/razonyang/fastrouter#Router.Group).


# Documentation
Expand All @@ -43,12 +43,12 @@ See [Documentation](https://godoc.org/github.com/razonyang/fastrouter)

# Examples

- [Basic example](https://godoc.org/github.com/razonyang/fastrouter#example_)
- [Grouping example](https://godoc.org/github.com/razonyang/fastrouter#example_Router_Group)
- [Middleware example](https://godoc.org/github.com/razonyang/fastrouter#example_Middleware)
- [Serve static files example](https://godoc.org/github.com/razonyang/fastrouter#example_Router_ServeFiles)
- [Basic example](https://godoc.org/github.com/razonyang/fastrouter#example-package)
- [Grouping example](https://godoc.org/github.com/razonyang/fastrouter#example-Router-Group)
- [Middleware example](https://godoc.org/github.com/razonyang/fastrouter#example-Middleware)
- [Serve static files example](https://godoc.org/github.com/razonyang/fastrouter#example-Router-ServeFiles)

See [Examples](https://godoc.org/github.com/razonyang/fastrouter#pkg-examples) for details.
See [Examples](https://godoc.org/github.com/razonyang/fastrouter#example-package) for details.

# Benchmark

Expand Down

0 comments on commit 04b7b62

Please sign in to comment.