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)
|
fmt.Println(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
engine.ShowSQL = true
|
engine.ShowSQL(true)
|
||||||
fmt.Println(engine)
|
fmt.Println(engine)
|
||||||
test(engine)
|
test(engine)
|
||||||
fmt.Println("test end")
|
fmt.Println("test end")
|
||||||
|
|
Loading…
Reference in New Issue