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:
parent
6894c9bc55
commit
5a2394d76a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user