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:
parent
4ddff5264b
commit
41dbb385e7
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user