all: facebookincubator/ent => facebook/ent (#660)

ent repository is going to be migrated to facebook organization
This commit is contained in:
Ariel Mashraki
2020-08-18 11:05:08 +03:00
committed by GitHub
parent a2990e31af
commit fd0a7f9f02
897 changed files with 3100 additions and 3100 deletions

View File

@@ -11,13 +11,13 @@ import (
"fmt"
"log"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/migrate"
"github.com/facebook/ent/examples/m2mrecur/ent/migrate"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
"github.com/facebookincubator/ent/dialect"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/dialect"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
)
// Client is the client that holds all ent builders.

View File

@@ -7,8 +7,8 @@
package ent
import (
"github.com/facebookincubator/ent"
"github.com/facebookincubator/ent/dialect"
"github.com/facebook/ent"
"github.com/facebook/ent/dialect"
)
// Option function to configure the client.

View File

@@ -11,10 +11,10 @@ import (
"fmt"
"strings"
"github.com/facebookincubator/ent"
"github.com/facebookincubator/ent/dialect"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent"
"github.com/facebook/ent/dialect"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
)
// ent aliases to avoid import conflict in user's code.

View File

@@ -9,11 +9,11 @@ package enttest
import (
"context"
"github.com/facebookincubator/ent/examples/m2mrecur/ent"
"github.com/facebook/ent/examples/m2mrecur/ent"
// required by schema hooks.
_ "github.com/facebookincubator/ent/examples/m2mrecur/ent/runtime"
_ "github.com/facebook/ent/examples/m2mrecur/ent/runtime"
"github.com/facebookincubator/ent/dialect/sql/schema"
"github.com/facebook/ent/dialect/sql/schema"
)
type (

View File

@@ -4,4 +4,4 @@
package ent
//go:generate go run github.com/facebookincubator/ent/cmd/entc generate --header "// Copyright 2019-present Facebook Inc. All rights reserved.\n// This source code is licensed under the Apache 2.0 license found\n// in the LICENSE file in the root directory of this source tree.\n\n// Code generated by entc, DO NOT EDIT." ./schema
//go:generate go run github.com/facebook/ent/cmd/entc generate --header "// Copyright 2019-present Facebook Inc. All rights reserved.\n// This source code is licensed under the Apache 2.0 license found\n// in the LICENSE file in the root directory of this source tree.\n\n// Code generated by entc, DO NOT EDIT." ./schema

View File

@@ -10,7 +10,7 @@ import (
"context"
"fmt"
"github.com/facebookincubator/ent/examples/m2mrecur/ent"
"github.com/facebook/ent/examples/m2mrecur/ent"
)
// The UserFunc type is an adapter to allow the use of ordinary

View File

@@ -11,8 +11,8 @@ import (
"fmt"
"io"
"github.com/facebookincubator/ent/dialect"
"github.com/facebookincubator/ent/dialect/sql/schema"
"github.com/facebook/ent/dialect"
"github.com/facebook/ent/dialect/sql/schema"
)
var (

View File

@@ -7,8 +7,8 @@
package migrate
import (
"github.com/facebookincubator/ent/dialect/sql/schema"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql/schema"
"github.com/facebook/ent/schema/field"
)
var (

View File

@@ -11,9 +11,9 @@ import (
"fmt"
"sync"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
"github.com/facebookincubator/ent"
"github.com/facebook/ent"
)
const (

View File

@@ -7,7 +7,7 @@
package predicate
import (
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql"
)
// User is the predicate function for user builders.

View File

@@ -11,7 +11,7 @@ import (
"errors"
"fmt"
"github.com/facebookincubator/ent/examples/m2mrecur/ent"
"github.com/facebook/ent/examples/m2mrecur/ent"
)
var (

View File

@@ -6,7 +6,7 @@
package runtime
// The schema-stitching logic is generated in github.com/facebookincubator/ent/examples/m2mrecur/ent/runtime.go
// The schema-stitching logic is generated in github.com/facebook/ent/examples/m2mrecur/ent/runtime.go
const (
Version = "(devel)" // Version of ent codegen.

View File

@@ -5,9 +5,9 @@
package schema
import (
"github.com/facebookincubator/ent"
"github.com/facebookincubator/ent/schema/edge"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent"
"github.com/facebook/ent/schema/edge"
"github.com/facebook/ent/schema/field"
)
// User holds the schema definition for the User entity.

View File

@@ -10,7 +10,7 @@ import (
"context"
"sync"
"github.com/facebookincubator/ent/dialect"
"github.com/facebook/ent/dialect"
)
// Tx is a transactional client that is created by calling Client.Tx().

View File

@@ -10,8 +10,8 @@ import (
"fmt"
"strings"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
)
// User is the model entity for the User schema.

View File

@@ -7,9 +7,9 @@
package user
import (
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/predicate"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/m2mrecur/ent/predicate"
)
// ID filters vertices based on their identifier.

View File

@@ -11,9 +11,9 @@ import (
"errors"
"fmt"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/schema/field"
)
// UserCreate is the builder for creating a User entity.

View File

@@ -10,11 +10,11 @@ import (
"context"
"fmt"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/predicate"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/m2mrecur/ent/predicate"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/schema/field"
)
// UserDelete is the builder for deleting a User entity.

View File

@@ -13,11 +13,11 @@ import (
"fmt"
"math"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/predicate"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/m2mrecur/ent/predicate"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/schema/field"
)
// UserQuery is the builder for querying User entities.

View File

@@ -10,11 +10,11 @@ import (
"context"
"fmt"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/predicate"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/m2mrecur/ent/predicate"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/schema/field"
)
// UserUpdate is the builder for updating User entities.

View File

@@ -9,9 +9,9 @@ import (
"fmt"
"log"
"github.com/facebookincubator/ent/examples/m2mrecur/ent/user"
"github.com/facebook/ent/examples/m2mrecur/ent/user"
"github.com/facebookincubator/ent/examples/m2mrecur/ent"
"github.com/facebook/ent/examples/m2mrecur/ent"
_ "github.com/mattn/go-sqlite3"
)