godoc.go: Run small paragraph

Former-commit-id: 60a5758962ff16af5153f0fdea56b123c0b0e58d
This commit is contained in:
Gerasimos (Makis) Maropoulos 2017-02-17 09:38:06 +02:00
parent 3cf2d6b270
commit 8c147d9d26

4
doc.go
View File

@ -78,12 +78,14 @@ Example code:
ctx.HTML(iris.StatusOK, "<h1> Welcome to my page!</h1>")
}
Run
$ go run main.go
$ iris run main.go ## enables reload on source code changes.
All HTTP methods are supported, users can register handlers for same paths on different methods.
The first parameter is the HTTP Method,
second parameter is the request path of the route,