Don't try to build sqlite when cgo isn't enabled

Signed-off-by: A Gardner <3100188+actgardner@users.noreply.github.com>
This commit is contained in:
A Gardner
2020-11-17 17:44:20 -05:00
parent 71bbbee075
commit 19d7edd530
6 changed files with 69 additions and 46 deletions

View File

@@ -0,0 +1,11 @@
// +build cgo
package sql
import (
"testing"
)
func TestSQLite3(t *testing.T) {
testDB(t, &SQLite3{":memory:"}, false)
}