1
0
mirror of https://github.com/beego/bee.git synced 2024-11-24 18:30:53 +00:00

move generateCode.Run() to g.go

This commit is contained in:
ZhengYang 2014-08-01 16:04:09 +08:00
parent 6894c9bc55
commit 5a2394d76a

View File

@ -103,7 +103,6 @@ var modelsList map[string]map[string]swagger.Model
var rootapi swagger.ResourceListing var rootapi swagger.ResourceListing
func init() { func init() {
cmdGenerate.Run = generateCode
pkgCache = make(map[string]bool) pkgCache = make(map[string]bool)
controllerComments = make(map[string]string) controllerComments = make(map[string]string)
importlist = make(map[string]string) importlist = make(map[string]string)