1
0
mirror of https://github.com/beego/bee.git synced 2024-11-26 06:21:34 +00:00

generate everything by default

This commit is contained in:
ZhengYang 2014-08-13 14:13:07 +08:00
parent a37b9802bd
commit 07bcce359a

2
g.go
View File

@ -110,7 +110,7 @@ func generateCode(cmd *Command, args []string) {
conn = "root:@tcp(127.0.0.1:3306)/test" conn = "root:@tcp(127.0.0.1:3306)/test"
} }
if level == "" { if level == "" {
level = "1" level = "3"
} }
ColorLog("[INFO] Using '%s' as 'driver'\n", driver) ColorLog("[INFO] Using '%s' as 'driver'\n", driver)
ColorLog("[INFO] Using '%s' as 'conn'\n", conn) ColorLog("[INFO] Using '%s' as 'conn'\n", conn)