mirror of
https://github.com/kataras/iris.git
synced 2025-02-09 02:34:55 +01:00
godoc.go: Run small paragraph
Former-commit-id: 60a5758962ff16af5153f0fdea56b123c0b0e58d
This commit is contained in:
parent
3cf2d6b270
commit
8c147d9d26
6
doc.go
6
doc.go
|
@ -78,10 +78,12 @@ Example code:
|
||||||
ctx.HTML(iris.StatusOK, "<h1> Welcome to my page!</h1>")
|
ctx.HTML(iris.StatusOK, "<h1> Welcome to my page!</h1>")
|
||||||
}
|
}
|
||||||
|
|
||||||
$ go run main.go
|
|
||||||
|
|
||||||
$ iris run main.go ## enables reload on source code changes.
|
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.
|
All HTTP methods are supported, users can register handlers for same paths on different methods.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user