tried out bee, will replace with own solution
This commit is contained in:
16
controllers/fortnite.go
Normal file
16
controllers/fortnite.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
type FortniteController struct {
|
||||
beego.Controller
|
||||
}
|
||||
|
||||
func (c *FortniteController) Get() {
|
||||
c.TplName = "fortnite.tpl"
|
||||
c.Data["fort"] = "nite"
|
||||
c.Data["nite"] = "fort"
|
||||
c.Data["testarray"] = "hi"
|
||||
}
|
||||
Reference in New Issue
Block a user