diff options
author | Evan Jones <evan.jones@datadoghq.com> | 2020-11-16 11:52:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 01:52:26 +0900 |
commit | 70c77097f2f2a8c57fa2c898284e9cfb80173eb2 (patch) | |
tree | c15790079a5db7e927020a0a7585126f6fcf2584 /doc.go | |
parent | doc.go: you can use Conn.Raw to get *SQLiteConn (#882) (diff) | |
download | golite-70c77097f2f2a8c57fa2c898284e9cfb80173eb2.tar.gz golite-70c77097f2f2a8c57fa2c898284e9cfb80173eb2.tar.xz |
sqlite3_test.go: Move Go 1.13 test to sqlite3_go113_test.go (#883)
Commit 4f7abea96e added a test that uses Conn.Raw, which was added in
Go >= 1.13. The go-sqlite3 project runs tests with Go >= 1.11. Remove
the test from sqlite3_test.go, so it only runs with the correct
versions of Go.
Instead of adding a new test, modify the existing test that already
uses Conn.Raw() to check the type of driverConn.
Diffstat (limited to 'doc.go')
-rw-r--r-- | doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ ConnectHook to get the SQLiteConn. }, }) -You can also use database/sql.Conn.Raw: +You can also use database/sql.Conn.Raw (Go >= 1.13): conn, err := db.Conn(context.Background()) // if err != nil { ... } |