1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 23:50:54 +00:00

fix the controller comments

This commit is contained in:
astaxie 2014-08-07 17:57:07 +08:00
parent 4ddff5264b
commit 41dbb385e7

View File

@ -624,7 +624,6 @@ package models
MODEL_TPL = ` MODEL_TPL = `
package models package models
// oprations for {{modelName}}
{{modelStruct}} {{modelStruct}}
func init() { func init() {
@ -757,6 +756,7 @@ func Delete{{modelName}}(id int) (err error) {
CTRL_TPL = ` CTRL_TPL = `
package controllers package controllers
// oprations for {{ctrlName}}
type {{ctrlName}}Controller struct { type {{ctrlName}}Controller struct {
beego.Controller beego.Controller
} }