Fix compile error

engine.ShowSQL is a method, not variable anymore
This commit is contained in:
qianguozheng 2018-07-18 15:41:36 +08:00 committed by GitHub
parent ad69f7d8f0
commit 7c9e4836d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func main() {
fmt.Println(err)
return
}
engine.ShowSQL = true
engine.ShowSQL(true)
fmt.Println(engine)
test(engine)
fmt.Println("test end")