2017-10-01 15:29:25 +02:00
|
|
|
package routes
|
|
|
|
|
|
|
|
import (
|
2019-10-25 00:27:02 +02:00
|
|
|
"github.com/kataras/iris/v12"
|
2017-10-01 15:29:25 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
// GetIndexHandler handles the GET: /
|
|
|
|
func GetIndexHandler(ctx iris.Context) {
|
|
|
|
ctx.ViewData("Title", "Index Page")
|
|
|
|
ctx.View("index.html")
|
|
|
|
}
|