update go version to 1.19

This commit is contained in:
Yasuhiro Matsumoto
2024-01-25 22:36:00 +09:00
committed by mattn
parent 00b02e0ba9
commit c91bca4fb4
21 changed files with 88 additions and 89 deletions

View File

@@ -45,7 +45,7 @@ func TestBeginTxCancel(t *testing.T) {
}
}()
err = conn.Raw(func(driverConn interface{}) error {
err = conn.Raw(func(driverConn any) error {
d, ok := driverConn.(driver.ConnBeginTx)
if !ok {
t.Fatal("unexpected: wrong type")
@@ -96,7 +96,7 @@ func TestStmtReadonly(t *testing.T) {
}
var ro bool
c.Raw(func(dc interface{}) error {
c.Raw(func(dc any) error {
stmt, err := dc.(*SQLiteConn).Prepare(query)
if err != nil {
return err