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

Using prefixed (aka. subrouter) router is exactly same as the main one: Using prefixed (aka. subrouter) router is exactly same as the main one:


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

Loading…
Cancel
Save