diff --git a/_example/custom_driver_name/Makefile b/_example/custom_driver_name/Makefile index 91fcde6ab..977db321c 100644 --- a/_example/custom_driver_name/Makefile +++ b/_example/custom_driver_name/Makefile @@ -6,7 +6,7 @@ endif all : $(TARGET) $(TARGET) : main.go - go build -ldflags="-X 'github.com/mattn/go-sqlite3.driverName=my-sqlite3'" + go build -ldflags="-X 'github.com/CovenantSQL/go-sqlite3-encrypt.driverName=my-sqlite3'" clean : rm -f $(TARGET) diff --git a/_example/custom_driver_name/main.go b/_example/custom_driver_name/main.go index 3148caed0..383899383 100644 --- a/_example/custom_driver_name/main.go +++ b/_example/custom_driver_name/main.go @@ -3,7 +3,7 @@ package main import ( "database/sql" - _ "github.com/mattn/go-sqlite3" + _ "github.com/CovenantSQL/go-sqlite3-encrypt" ) func main() { diff --git a/_example/custom_func/main.go b/_example/custom_func/main.go index 85657e62f..04b32849f 100644 --- a/_example/custom_func/main.go +++ b/_example/custom_func/main.go @@ -7,7 +7,7 @@ import ( "math" "math/rand" - sqlite "github.com/mattn/go-sqlite3" + sqlite "github.com/CovenantSQL/go-sqlite3-encrypt" ) // Computes x^y diff --git a/_example/fuzz/fuzz_openexec.go b/_example/fuzz/fuzz_openexec.go index b36c9f281..a77a38d6a 100644 --- a/_example/fuzz/fuzz_openexec.go +++ b/_example/fuzz/fuzz_openexec.go @@ -5,7 +5,7 @@ import ( "database/sql" "io/ioutil" - _ "github.com/mattn/go-sqlite3" + _ "github.com/CovenantSQL/go-sqlite3-encrypt" ) func FuzzOpenExec(data []byte) int { diff --git a/_example/hook/hook.go b/_example/hook/hook.go index a728e3cf4..d07cc3351 100644 --- a/_example/hook/hook.go +++ b/_example/hook/hook.go @@ -5,7 +5,7 @@ import ( "log" "os" - "github.com/mattn/go-sqlite3" + "github.com/CovenantSQL/go-sqlite3-encrypt" ) func main() { diff --git a/_example/json/json.go b/_example/json/json.go index 1c7c6c765..7c97189cc 100644 --- a/_example/json/json.go +++ b/_example/json/json.go @@ -5,9 +5,10 @@ import ( "database/sql/driver" "encoding/json" "fmt" - _ "github.com/mattn/go-sqlite3" "log" "os" + + _ "github.com/CovenantSQL/go-sqlite3-encrypt" ) type Tag struct { diff --git a/_example/limit/limit.go b/_example/limit/limit.go index 4ac33c24f..59b62cd6f 100644 --- a/_example/limit/limit.go +++ b/_example/limit/limit.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/mattn/go-sqlite3" + "github.com/CovenantSQL/go-sqlite3-encrypt" ) func createBulkInsertQuery(n int, start int) (query string, args []any) { diff --git a/_example/mod_regexp/extension.go b/_example/mod_regexp/extension.go index 61ceb55e6..8c25ee5c4 100644 --- a/_example/mod_regexp/extension.go +++ b/_example/mod_regexp/extension.go @@ -3,8 +3,9 @@ package main import ( "database/sql" "fmt" - "github.com/mattn/go-sqlite3" "log" + + "github.com/CovenantSQL/go-sqlite3-encrypt" ) func main() { diff --git a/_example/mod_vtable/extension.go b/_example/mod_vtable/extension.go index f738af6ae..d7e4b859e 100644 --- a/_example/mod_vtable/extension.go +++ b/_example/mod_vtable/extension.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/mattn/go-sqlite3" + "github.com/CovenantSQL/go-sqlite3-encrypt" ) func main() { diff --git a/_example/simple/Dockerfile b/_example/simple/Dockerfile index 8ed0473ed..b6f7ffdc3 100644 --- a/_example/simple/Dockerfile +++ b/_example/simple/Dockerfile @@ -28,7 +28,7 @@ COPY . /workspace/ RUN \ cd _example/simple && \ go mod init github.com/mattn/sample && \ - go mod edit -replace=github.com/mattn/go-sqlite3=../.. && \ + go mod edit -replace=github.com/CovenantSQL/go-sqlite3-encrypt=../.. && \ go mod tidy && \ go install -ldflags='-s -w -extldflags "-static"' ./simple.go diff --git a/_example/simple/simple.go b/_example/simple/simple.go index 0c347919f..5900276aa 100644 --- a/_example/simple/simple.go +++ b/_example/simple/simple.go @@ -3,9 +3,10 @@ package main import ( "database/sql" "fmt" - _ "github.com/mattn/go-sqlite3" "log" "os" + + _ "github.com/CovenantSQL/go-sqlite3-encrypt" ) func main() { diff --git a/_example/trace/main.go b/_example/trace/main.go index bef3d1590..e757ef4b0 100644 --- a/_example/trace/main.go +++ b/_example/trace/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - sqlite3 "github.com/mattn/go-sqlite3" + sqlite3 "github.com/CovenantSQL/go-sqlite3-encrypt" ) func traceCallback(info sqlite3.TraceInfo) int { diff --git a/_example/vtable/main.go b/_example/vtable/main.go index aad8dda7d..1bd2dfd4e 100644 --- a/_example/vtable/main.go +++ b/_example/vtable/main.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/mattn/go-sqlite3" + "github.com/CovenantSQL/go-sqlite3-encrypt" ) func main() { diff --git a/_example/vtable/vtable.go b/_example/vtable/vtable.go index 8f5a957a6..a4ac41054 100644 --- a/_example/vtable/vtable.go +++ b/_example/vtable/vtable.go @@ -7,7 +7,7 @@ import ( "net/http" "strings" - "github.com/mattn/go-sqlite3" + "github.com/CovenantSQL/go-sqlite3-encrypt" ) type githubRepo struct { diff --git a/_example/vtable_eponymous_only/main.go b/_example/vtable_eponymous_only/main.go index 134317e8e..a9c564898 100644 --- a/_example/vtable_eponymous_only/main.go +++ b/_example/vtable_eponymous_only/main.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/mattn/go-sqlite3" + "github.com/CovenantSQL/go-sqlite3-encrypt" ) func main() { diff --git a/_example/vtable_eponymous_only/vtable.go b/_example/vtable_eponymous_only/vtable.go index d87c4d66a..4a4c54aa2 100644 --- a/_example/vtable_eponymous_only/vtable.go +++ b/_example/vtable_eponymous_only/vtable.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/mattn/go-sqlite3" + "github.com/CovenantSQL/go-sqlite3-encrypt" ) type seriesModule struct{}