mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
11 lines
196 B
Go
11 lines
196 B
Go
|
package controllers
|
||
|
|
||
|
import "github.com/kataras/iris/mvc"
|
||
|
|
||
|
type IndexController struct{ mvc.Controller }
|
||
|
|
||
|
func (c *IndexController) Get() {
|
||
|
c.Data["Title"] = "Home Page"
|
||
|
c.Tmpl = "index.html"
|
||
|
}
|