Fix compile error
engine.ShowSQL is a method, not variable anymore
This commit is contained in:
parent
ad69f7d8f0
commit
7c9e4836d2
|
@ -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