Browse Source

fix typos

tags/v0.9.0
jimzhan 9 years ago
parent
commit
6a33befcfd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      README.md

+ 1
- 1
README.md View File

@@ -116,7 +116,7 @@ app.Use(func(next http.Handler) http.Handler {
Using prefixed (aka. subrouter) router is exactly same as the main one:

```go
app := rex.new()
app := rex.New()
app.GET("/", func(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "index page")
})

Loading…
Cancel
Save