generate everything by default

This commit is contained in:
ZhengYang 2014-08-13 14:13:07 +08:00
parent a37b9802bd
commit 07bcce359a
1 changed files with 1 additions and 1 deletions

2
g.go
View File

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