openbrain/controllers/default.go

7 lines
98 B
Go

package controllers
func (c *ApiController) GetPosts() {
c.Data["json"] = "OK"
c.ServeJSON()
}