mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
package __
|
||||
|
||||
import "github.com/facebook/ent/dialect/gremlin/graph/dsl"
|
||||
import "entgo.io/ent/dialect/gremlin/graph/dsl"
|
||||
|
||||
// As is the api for calling __.As().
|
||||
func As(args ...interface{}) *dsl.Traversal { return New().As(args...) }
|
||||
|
||||
@@ -8,10 +8,10 @@ import (
|
||||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/facebook/ent/dialect/gremlin/graph/dsl"
|
||||
"github.com/facebook/ent/dialect/gremlin/graph/dsl/__"
|
||||
"github.com/facebook/ent/dialect/gremlin/graph/dsl/g"
|
||||
"github.com/facebook/ent/dialect/gremlin/graph/dsl/p"
|
||||
"entgo.io/ent/dialect/gremlin/graph/dsl"
|
||||
"entgo.io/ent/dialect/gremlin/graph/dsl/__"
|
||||
"entgo.io/ent/dialect/gremlin/graph/dsl/g"
|
||||
"entgo.io/ent/dialect/gremlin/graph/dsl/p"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
package g
|
||||
|
||||
import "github.com/facebook/ent/dialect/gremlin/graph/dsl"
|
||||
import "entgo.io/ent/dialect/gremlin/graph/dsl"
|
||||
|
||||
// V is the api for calling g.V().
|
||||
func V(args ...interface{}) *dsl.Traversal { return dsl.NewTraversal().V(args...) }
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package p
|
||||
|
||||
import (
|
||||
"github.com/facebook/ent/dialect/gremlin/graph/dsl"
|
||||
"entgo.io/ent/dialect/gremlin/graph/dsl"
|
||||
)
|
||||
|
||||
// EQ is the equal predicate.
|
||||
|
||||
@@ -7,7 +7,7 @@ package graph
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/facebook/ent/dialect/gremlin/encoding/graphson"
|
||||
"entgo.io/ent/dialect/gremlin/encoding/graphson"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/facebook/ent/dialect/gremlin/encoding/graphson"
|
||||
"entgo.io/ent/dialect/gremlin/encoding/graphson"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
@@ -7,7 +7,7 @@ package graph
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/facebook/ent/dialect/gremlin/encoding/graphson"
|
||||
"entgo.io/ent/dialect/gremlin/encoding/graphson"
|
||||
)
|
||||
|
||||
// Vertex represents a graph vertex.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/facebook/ent/dialect/gremlin/encoding/graphson"
|
||||
"entgo.io/ent/dialect/gremlin/encoding/graphson"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
Reference in New Issue
Block a user