Bulk replace project references in go code
This commit is contained in:
parent
814ebddfa2
commit
4474319e73
170 changed files with 488 additions and 488 deletions
|
|
@ -5,19 +5,19 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/go-jet/jet/v2/internal/utils/ptr"
|
||||
"github.com/Gleipnir-Technology/jet/internal/utils/ptr"
|
||||
"github.com/shopspring/decimal"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/google/uuid"
|
||||
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/view"
|
||||
"github.com/go-jet/jet/v2/tests/testdata/results/common"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/view"
|
||||
"github.com/Gleipnir-Technology/jet/tests/testdata/results/common"
|
||||
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
)
|
||||
|
||||
func TestAllTypes(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
package mysql
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package mysql
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
"time"
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@ package mysql
|
|||
|
||||
import (
|
||||
"context"
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/qrm"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/qrm"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
"time"
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@ package mysql
|
|||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"github.com/go-jet/jet/v2/generator/metadata"
|
||||
mysql2 "github.com/go-jet/jet/v2/generator/mysql"
|
||||
"github.com/go-jet/jet/v2/generator/template"
|
||||
"github.com/go-jet/jet/v2/internal/3rdparty/snaker"
|
||||
"github.com/go-jet/jet/v2/internal/utils/dbidentifier"
|
||||
"github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/tests/dbconfig"
|
||||
file2 "github.com/go-jet/jet/v2/tests/internal/utils/file"
|
||||
"github.com/Gleipnir-Technology/jet/generator/metadata"
|
||||
mysql2 "github.com/Gleipnir-Technology/jet/generator/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/generator/template"
|
||||
"github.com/Gleipnir-Technology/jet/internal/3rdparty/snaker"
|
||||
"github.com/Gleipnir-Technology/jet/internal/utils/dbidentifier"
|
||||
"github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/tests/dbconfig"
|
||||
file2 "github.com/Gleipnir-Technology/jet/tests/internal/utils/file"
|
||||
"github.com/stretchr/testify/require"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/go-jet/jet/v2/generator/metadata"
|
||||
"github.com/go-jet/jet/v2/generator/mysql"
|
||||
"github.com/go-jet/jet/v2/generator/template"
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
mysql2 "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/tests/dbconfig"
|
||||
"github.com/Gleipnir-Technology/jet/generator/metadata"
|
||||
"github.com/Gleipnir-Technology/jet/generator/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/generator/template"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
mysql2 "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/tests/dbconfig"
|
||||
)
|
||||
|
||||
const genTestDirRoot = "./.gentestdata3"
|
||||
|
|
@ -246,7 +246,7 @@ func TestSQLBuilderColumnComment(t *testing.T) {
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/mysql"
|
||||
)
|
||||
|
||||
var Link = newLinkTable("test_sample", "link", "")
|
||||
|
|
@ -336,7 +336,7 @@ var mpaaRatingEnumFile = `
|
|||
|
||||
package enum
|
||||
|
||||
import "github.com/go-jet/jet/v2/mysql"
|
||||
import "github.com/Gleipnir-Technology/jet/mysql"
|
||||
|
||||
var FilmRating = &struct {
|
||||
G mysql.StringExpression
|
||||
|
|
@ -364,7 +364,7 @@ var actorSQLBuilderFile = `
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/mysql"
|
||||
)
|
||||
|
||||
var Actor = newActorTable("dvds", "actor", "")
|
||||
|
|
@ -508,7 +508,7 @@ var actorInfoSQLBuilderFile = `
|
|||
package view
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/mysql"
|
||||
)
|
||||
|
||||
var ActorInfo = newActorInfoTable("dvds", "actor_info", "")
|
||||
|
|
@ -643,7 +643,7 @@ var allTypesEnum = `
|
|||
|
||||
package enum
|
||||
|
||||
import "github.com/go-jet/jet/v2/mysql"
|
||||
import "github.com/Gleipnir-Technology/jet/mysql"
|
||||
|
||||
var AllTypesEnum = &struct {
|
||||
Value1 mysql.StringExpression
|
||||
|
|
@ -748,7 +748,7 @@ var allTypesTableContent = `
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/mysql"
|
||||
)
|
||||
|
||||
var AllTypes = newAllTypesTable("test_sample", "all_types", "")
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@ package mysql
|
|||
|
||||
import (
|
||||
"context"
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
"github.com/go-jet/jet/v2/internal/utils/ptr"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/qrm"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
"github.com/Gleipnir-Technology/jet/internal/utils/ptr"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/qrm"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/table"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
"math/rand"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package mysql
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ import (
|
|||
"context"
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"github.com/go-jet/jet/v2/mysql"
|
||||
jetmysql "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/stmtcache"
|
||||
"github.com/go-jet/jet/v2/tests/dbconfig"
|
||||
"github.com/go-jet/jet/v2/tests/internal/utils/repo"
|
||||
"github.com/Gleipnir-Technology/jet/mysql"
|
||||
jetmysql "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/stmtcache"
|
||||
"github.com/Gleipnir-Technology/jet/tests/dbconfig"
|
||||
"github.com/Gleipnir-Technology/jet/tests/internal/utils/repo"
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
"github.com/stretchr/testify/require"
|
||||
"runtime"
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/model"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/model"
|
||||
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
)
|
||||
|
||||
func TestRawStatementSelect(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
package mysql
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
"github.com/go-jet/jet/v2/internal/utils/ptr"
|
||||
"github.com/go-jet/jet/v2/qrm"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
"github.com/Gleipnir-Technology/jet/internal/utils/ptr"
|
||||
"github.com/Gleipnir-Technology/jet/qrm"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/table"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/table"
|
||||
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/go-jet/jet/v2/qrm"
|
||||
"github.com/Gleipnir-Technology/jet/qrm"
|
||||
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -2,18 +2,18 @@ package mysql
|
|||
|
||||
import (
|
||||
"context"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
"github.com/go-jet/jet/v2/qrm"
|
||||
"github.com/Gleipnir-Technology/jet/postgres"
|
||||
"github.com/Gleipnir-Technology/jet/qrm"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/enum"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/view"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/enum"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/view"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ package mysql
|
|||
import (
|
||||
"context"
|
||||
"database/sql"
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/stmtcache"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/stmtcache"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ package mysql
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
)
|
||||
|
||||
func TestUpdateWithJoin(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/go-jet/jet/v2/qrm"
|
||||
"github.com/Gleipnir-Technology/jet/qrm"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/test_sample/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/test_sample/table"
|
||||
)
|
||||
|
||||
func TestUpdateValues(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
package mysql
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
"github.com/stretchr/testify/require"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
|
||||
"github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/model"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
)
|
||||
|
||||
func TestVALUES(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package mysql
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/v2/internal/testutils"
|
||||
. "github.com/go-jet/jet/v2/mysql"
|
||||
. "github.com/go-jet/jet/v2/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/Gleipnir-Technology/jet/internal/testutils"
|
||||
. "github.com/Gleipnir-Technology/jet/mysql"
|
||||
. "github.com/Gleipnir-Technology/jet/tests/.gentestdata/mysql/dvds/table"
|
||||
"github.com/stretchr/testify/require"
|
||||
"strings"
|
||||
"testing"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue