Pārlūkot izejas kodu

fix typos

tags/v0.9.0
jimzhan pirms 10 gadiem
vecāks
revīzija
6a33befcfd
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      README.md

+ 1
- 1
README.md Parādīt failu

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")
}) })

Notiek ielāde…
Atcelt
Saglabāt