mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 03:01:03 +01:00
6282a71a6f
Read HISTORY.md Former-commit-id: 82df2d266055818ffafe0ba66b58cf4ed9089922
15 lines
244 B
Go
15 lines
244 B
Go
package main
|
|
|
|
import (
|
|
"github.com/kataras/iris"
|
|
"github.com/kataras/iris/context"
|
|
)
|
|
|
|
func main() {
|
|
app := iris.New()
|
|
app.Handle("GET", "/", func(ctx context.Context) {
|
|
ctx.HTML("<b> Hello world! </b>")
|
|
})
|
|
app.Run(iris.Addr(":8080"))
|
|
}
|