Fix compile error (#1042)
engine.ShowSQL is a method, not variable anymore
This commit is contained in:
parent
1eee8a367e
commit
0b0a419f59
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue