Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/oracle/gorm-oracle
module github.com/oracle-samples/gorm-oracle

go 1.24.4

Expand Down
2 changes: 1 addition & 1 deletion tests/associations_belongs_to_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/associations_has_many_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/associations_has_one_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion tests/associations_many2many_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/associations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion tests/count_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (
"strings"
"testing"

. "github.com/oracle/gorm-oracle/tests/utils"
. "github.com/oracle-samples/gorm-oracle/tests/utils"

"time"

Expand Down
2 changes: 1 addition & 1 deletion tests/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/distinct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/embedded_struct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/generics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions tests/go.mod
Original file line number Diff line number Diff line change
@@ -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
)

Expand All @@ -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 => ../
2 changes: 1 addition & 1 deletion tests/gorm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ package tests
import (
"testing"

"github.com/oracle/gorm-oracle/oracle"
"github.com/oracle-samples/gorm-oracle/oracle"
"gorm.io/gorm"
)

Expand Down
2 changes: 1 addition & 1 deletion tests/group_by_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/joins_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion tests/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion tests/named_polymorphic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/preload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/prepared_stmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/scanner_valuer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/scopes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/soft_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion tests/sql_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/tests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (

"time"

. "github.com/oracle/gorm-oracle/tests/utils"
. "github.com/oracle-samples/gorm-oracle/tests/utils"

"gorm.io/gorm"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/update_belongs_to_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/update_has_many_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/update_has_one_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/update_many2many_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/upsert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down