mirror of
https://github.com/ent/ent.git
synced 2026-05-28 09:49:08 +03:00
go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"github.com/facebook/ent"
|
||||
"entgo.io/ent"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -78,7 +78,7 @@ func ValidColumn(column string) bool {
|
||||
// package on the initialization of the application. Therefore,
|
||||
// it should be imported in the main as follows:
|
||||
//
|
||||
// import _ "github.com/facebook/ent/examples/privacytenant/ent/runtime"
|
||||
// import _ "entgo.io/ent/examples/privacytenant/ent/runtime"
|
||||
//
|
||||
var (
|
||||
Hooks [1]ent.Hook
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"github.com/facebook/ent/dialect/sql"
|
||||
"github.com/facebook/ent/dialect/sql/sqlgraph"
|
||||
"github.com/facebook/ent/examples/privacytenant/ent/predicate"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/examples/privacytenant/ent/predicate"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
|
||||
Reference in New Issue
Block a user