From 7c9e4836d291af5189a04e6e5425d1453a491672 Mon Sep 17 00:00:00 2001 From: qianguozheng Date: Wed, 18 Jul 2018 15:41:36 +0800 Subject: [PATCH] Fix compile error 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 59e56d10..0596ec23 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")