From 0b0a419f599b8006e9a0cb74b364b6713f62269d Mon Sep 17 00:00:00 2001 From: qianguozheng Date: Thu, 9 Aug 2018 21:07:07 +0800 Subject: [PATCH] Fix compile error (#1042) engine.ShowSQL is a method, not variable anymore --- examples/goroutine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/goroutine.go b/examples/goroutine.go index 59e56d105..0596ec23e 100644 --- a/examples/goroutine.go +++ b/examples/goroutine.go @@ -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")