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")