Skip to content

Commit

Permalink
Fix compile error (go-xorm#1042)
Browse files Browse the repository at this point in the history
engine.ShowSQL is a method, not variable anymore
  • Loading branch information
qianguozheng authored and lunny committed Aug 9, 2018
1 parent 1eee8a3 commit 0b0a419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/goroutine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0b0a419

Please sign in to comment.