mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Updated Home (markdown)
parent
bb5d598f44
commit
be95a9f5c5
3
Home.md
3
Home.md
|
@ -41,11 +41,10 @@ Hi with **Django-syntax**
|
||||||
// ./main.go
|
// ./main.go
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris"
|
"github.com/kataras/iris"
|
||||||
"github.com/kataras/iris/config"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
iris.Config().Render.Template.Engine = config.PongoEngine
|
iris.Config().Render.Template.Engine = iris.PongoEngine
|
||||||
iris.Get("/hi", hi)
|
iris.Get("/hi", hi)
|
||||||
iris.Listen(":8080")
|
iris.Listen(":8080")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user