mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 11:11:03 +01:00
cf1e580cde
Former-commit-id: 27c97d005d9cbd2309587b11fc9e2bab85870502
15 lines
180 B
Go
15 lines
180 B
Go
package index
|
|
|
|
import (
|
|
"github.com/kataras/iris"
|
|
)
|
|
|
|
type Controller struct {
|
|
iris.Controller
|
|
}
|
|
|
|
func (c *Controller) Get() {
|
|
c.Data["Title"] = "Index"
|
|
c.Tmpl = "index.html"
|
|
}
|