diff --git a/README.md b/README.md index 0a9509b..46519f7 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ dsn := `user="scott" password="tiger" package main import ( - "github.com/oracle/gorm-oracle/oracle" + "github.com/oracle-samples/gorm-oracle/oracle" "gorm.io/gorm" ) diff --git a/go.mod b/go.mod index 4de5133..b70d909 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/oracle/gorm-oracle +module github.com/oracle-samples/gorm-oracle go 1.24.4 diff --git a/tests/associations_belongs_to_test.go b/tests/associations_belongs_to_test.go index ece4883..a2b1b7f 100644 --- a/tests/associations_belongs_to_test.go +++ b/tests/associations_belongs_to_test.go @@ -42,7 +42,7 @@ import ( "strings" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/associations_has_many_test.go b/tests/associations_has_many_test.go index cadd23f..b5bd9ce 100644 --- a/tests/associations_has_many_test.go +++ b/tests/associations_has_many_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" ) diff --git a/tests/associations_has_one_test.go b/tests/associations_has_one_test.go index 45670f3..230c478 100644 --- a/tests/associations_has_one_test.go +++ b/tests/associations_has_one_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" ) func TestHasOneAssociation(t *testing.T) { diff --git a/tests/associations_many2many_test.go b/tests/associations_many2many_test.go index fff0897..98a4c0c 100644 --- a/tests/associations_many2many_test.go +++ b/tests/associations_many2many_test.go @@ -43,7 +43,7 @@ import ( "sync" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/associations_test.go b/tests/associations_test.go index e21907e..79fc753 100644 --- a/tests/associations_test.go +++ b/tests/associations_test.go @@ -42,7 +42,7 @@ import ( "strings" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/benchmark_test.go b/tests/benchmark_test.go index d1e064b..0b07024 100644 --- a/tests/benchmark_test.go +++ b/tests/benchmark_test.go @@ -42,7 +42,7 @@ import ( "fmt" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" ) func BenchmarkCreate(b *testing.B) { diff --git a/tests/count_test.go b/tests/count_test.go index eaab56d..e579a8a 100644 --- a/tests/count_test.go +++ b/tests/count_test.go @@ -44,7 +44,7 @@ import ( "strings" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/create_test.go b/tests/create_test.go index 7e83f28..07ab8b3 100644 --- a/tests/create_test.go +++ b/tests/create_test.go @@ -45,7 +45,7 @@ import ( "strings" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "time" diff --git a/tests/delete_test.go b/tests/delete_test.go index 9109478..a1d8ba2 100644 --- a/tests/delete_test.go +++ b/tests/delete_test.go @@ -42,7 +42,7 @@ import ( "errors" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/distinct_test.go b/tests/distinct_test.go index 2ccfc52..9997145 100644 --- a/tests/distinct_test.go +++ b/tests/distinct_test.go @@ -42,7 +42,7 @@ import ( "regexp" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/embedded_struct_test.go b/tests/embedded_struct_test.go index 18bf554..56bc858 100644 --- a/tests/embedded_struct_test.go +++ b/tests/embedded_struct_test.go @@ -47,7 +47,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/generics_test.go b/tests/generics_test.go index 91b2ed4..77fe8e1 100644 --- a/tests/generics_test.go +++ b/tests/generics_test.go @@ -49,7 +49,7 @@ import ( "sync" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/go.mod b/tests/go.mod index 74f05ff..5ed2155 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -1,11 +1,11 @@ -module github.com/oracle/gorm-oracle/tests +module github.com/oracle-samples/gorm-oracle/tests go 1.24.4 require gorm.io/gorm v1.30.0 require ( - github.com/oracle/gorm-oracle v0.0.0-00010101000000-000000000000 + github.com/oracle-samples/gorm-oracle v0.0.1 github.com/stretchr/testify v1.10.0 ) @@ -27,4 +27,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -replace github.com/oracle/gorm-oracle => ../ +replace github.com/oracle-samples/gorm-oracle => ../ diff --git a/tests/gorm_test.go b/tests/gorm_test.go index d68e5e5..e94081e 100644 --- a/tests/gorm_test.go +++ b/tests/gorm_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - "github.com/oracle/gorm-oracle/oracle" + "github.com/oracle-samples/gorm-oracle/oracle" "gorm.io/gorm" ) diff --git a/tests/group_by_test.go b/tests/group_by_test.go index 3106ddc..0bbf584 100644 --- a/tests/group_by_test.go +++ b/tests/group_by_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm/utils/tests" ) diff --git a/tests/helper_test.go b/tests/helper_test.go index f2defac..535ef96 100644 --- a/tests/helper_test.go +++ b/tests/helper_test.go @@ -46,7 +46,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/info.go b/tests/info.go index 51aabb5..57ca350 100644 --- a/tests/info.go +++ b/tests/info.go @@ -45,7 +45,7 @@ import ( "runtime" "time" - "github.com/oracle/gorm-oracle/oracle" + "github.com/oracle-samples/gorm-oracle/oracle" "gorm.io/gorm" "gorm.io/gorm/logger" ) diff --git a/tests/joins_test.go b/tests/joins_test.go index 22d28e1..3984eb9 100644 --- a/tests/joins_test.go +++ b/tests/joins_test.go @@ -44,7 +44,7 @@ import ( "sort" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "github.com/stretchr/testify/assert" "gorm.io/gorm" diff --git a/tests/main_test.go b/tests/main_test.go index 7f4f482..9d9c280 100644 --- a/tests/main_test.go +++ b/tests/main_test.go @@ -42,7 +42,7 @@ import ( "fmt" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" ) func TestExceptionsWithInvalidSql(t *testing.T) { diff --git a/tests/migrate_test.go b/tests/migrate_test.go index 3831499..33308db 100644 --- a/tests/migrate_test.go +++ b/tests/migrate_test.go @@ -50,7 +50,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "github.com/stretchr/testify/assert" diff --git a/tests/named_polymorphic_test.go b/tests/named_polymorphic_test.go index 255f68c..2b54ea2 100644 --- a/tests/named_polymorphic_test.go +++ b/tests/named_polymorphic_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" ) type Hamster struct { diff --git a/tests/preload_test.go b/tests/preload_test.go index dd929c9..61ddc51 100644 --- a/tests/preload_test.go +++ b/tests/preload_test.go @@ -49,7 +49,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/prepared_stmt_test.go b/tests/prepared_stmt_test.go index e69a3ed..26cdf8f 100644 --- a/tests/prepared_stmt_test.go +++ b/tests/prepared_stmt_test.go @@ -45,7 +45,7 @@ import ( "testing" "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/query_test.go b/tests/query_test.go index ece1aac..396c3d7 100644 --- a/tests/query_test.go +++ b/tests/query_test.go @@ -51,7 +51,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/scan_test.go b/tests/scan_test.go index 30e50b2..93e158c 100644 --- a/tests/scan_test.go +++ b/tests/scan_test.go @@ -46,7 +46,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/scanner_valuer_test.go b/tests/scanner_valuer_test.go index a237276..0f9ae66 100644 --- a/tests/scanner_valuer_test.go +++ b/tests/scanner_valuer_test.go @@ -51,7 +51,7 @@ import ( "testing" "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/scopes_test.go b/tests/scopes_test.go index ab5517a..0e328a2 100644 --- a/tests/scopes_test.go +++ b/tests/scopes_test.go @@ -42,7 +42,7 @@ import ( "context" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" ) diff --git a/tests/soft_delete_test.go b/tests/soft_delete_test.go index 06217cc..f15d63a 100644 --- a/tests/soft_delete_test.go +++ b/tests/soft_delete_test.go @@ -46,7 +46,7 @@ import ( "testing" "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm/clause" diff --git a/tests/sql_builder_test.go b/tests/sql_builder_test.go index b9989fe..dc73c68 100644 --- a/tests/sql_builder_test.go +++ b/tests/sql_builder_test.go @@ -45,7 +45,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/table_test.go b/tests/table_test.go index 39f99aa..29accf6 100644 --- a/tests/table_test.go +++ b/tests/table_test.go @@ -42,7 +42,7 @@ import ( "regexp" "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/schema" diff --git a/tests/tests_test.go b/tests/tests_test.go index bed518b..2842c83 100644 --- a/tests/tests_test.go +++ b/tests/tests_test.go @@ -45,8 +45,8 @@ import ( "strings" "time" - "github.com/oracle/gorm-oracle/oracle" - . "github.com/oracle/gorm-oracle/tests/utils" + "github.com/oracle-samples/gorm-oracle/oracle" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/logger" diff --git a/tests/transaction_test.go b/tests/transaction_test.go index 56e0efd..0b8b9e4 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -45,7 +45,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" ) diff --git a/tests/update_belongs_to_test.go b/tests/update_belongs_to_test.go index 43ef16f..89b695e 100644 --- a/tests/update_belongs_to_test.go +++ b/tests/update_belongs_to_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" ) diff --git a/tests/update_has_many_test.go b/tests/update_has_many_test.go index 940fa4d..4ee4a34 100644 --- a/tests/update_has_many_test.go +++ b/tests/update_has_many_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" ) diff --git a/tests/update_has_one_test.go b/tests/update_has_one_test.go index 810d22b..28d5e52 100644 --- a/tests/update_has_one_test.go +++ b/tests/update_has_one_test.go @@ -44,7 +44,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/utils/tests" diff --git a/tests/update_many2many_test.go b/tests/update_many2many_test.go index fe94db8..670da85 100644 --- a/tests/update_many2many_test.go +++ b/tests/update_many2many_test.go @@ -41,7 +41,7 @@ package tests import ( "testing" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" ) diff --git a/tests/update_test.go b/tests/update_test.go index 851c5e1..d9eb530 100644 --- a/tests/update_test.go +++ b/tests/update_test.go @@ -49,7 +49,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/tests/upsert_test.go b/tests/upsert_test.go index 7c315b7..737ec45 100644 --- a/tests/upsert_test.go +++ b/tests/upsert_test.go @@ -44,7 +44,7 @@ import ( "time" - . "github.com/oracle/gorm-oracle/tests/utils" + . "github.com/oracle-samples/gorm-oracle/tests/utils" "gorm.io/gorm" "gorm.io/gorm/clause"