mirror of
https://github.com/rqlite/rqlite.git
synced 2026-01-25 04:16:26 +00:00
Use require instead of modified imports
This commit is contained in:
2
db/db.go
2
db/db.go
@@ -16,7 +16,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/rqlite/go-sqlite3"
|
||||
"github.com/mattn/go-sqlite3"
|
||||
command "github.com/rqlite/rqlite/v8/command/proto"
|
||||
"github.com/rqlite/rqlite/v8/db/humanize"
|
||||
"github.com/rqlite/rqlite/v8/internal/rsum"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/rqlite/go-sqlite3"
|
||||
"github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/rqlite/go-sqlite3"
|
||||
"github.com/mattn/go-sqlite3"
|
||||
"github.com/rqlite/rqlite/v8/internal/random"
|
||||
)
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/rqlite/go-sqlite3"
|
||||
"github.com/mattn/go-sqlite3"
|
||||
"github.com/rqlite/rqlite/v8/internal/random"
|
||||
)
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
_ "github.com/rqlite/go-sqlite3"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
func Test_CompactingScanner_Scan_Empty(t *testing.T) {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
_ "github.com/rqlite/go-sqlite3"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
"github.com/rqlite/rqlite/v8/internal/random"
|
||||
)
|
||||
|
||||
|
||||
7
go.mod
7
go.mod
@@ -13,9 +13,9 @@ require (
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.84.1
|
||||
github.com/hashicorp/go-hclog v1.6.3
|
||||
github.com/hashicorp/raft v1.7.3
|
||||
github.com/mattn/go-sqlite3 v1.14.29
|
||||
github.com/mkideal/cli v0.2.7
|
||||
github.com/mkideal/pkg v0.1.3
|
||||
github.com/rqlite/go-sqlite3 v1.38.0
|
||||
github.com/rqlite/raft-boltdb/v2 v2.0.0-20230523104317-c08e70f4de48
|
||||
github.com/rqlite/rqlite-disco-clients v0.0.0-20250205044118-8ada2b350099
|
||||
github.com/rqlite/sql v0.0.0-20250623131620-453fa49cad04
|
||||
@@ -78,4 +78,7 @@ require (
|
||||
google.golang.org/grpc v1.74.2 // indirect
|
||||
)
|
||||
|
||||
replace github.com/armon/go-metrics => github.com/hashicorp/go-metrics v0.5.1
|
||||
replace (
|
||||
github.com/armon/go-metrics => github.com/hashicorp/go-metrics v0.5.1
|
||||
github.com/mattn/go-sqlite3 => github.com/rqlite/go-sqlite3 v1.38.0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user