Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 224 Bytes
package main
import (
"github.com/kataras/iris"
)
func main() {
app := iris.New()
app.Get("/", func(ctx iris.Context) {
ctx.HTML("<h1>Hello World!</h1>")
})
// http://localhost:8080
app.Run(iris.Addr(":8080"))
}