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,9 +11,9 @@ import (
"strings"
"time"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/examples/start/ent/car"
"github.com/facebook/ent/examples/start/ent/user"
)
// Car is the model entity for the Car schema.

View File

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

View File

@@ -12,10 +12,10 @@ import (
"fmt"
"time"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/start/ent/car"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// CarCreate is the builder for creating a Car 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/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/start/ent/car"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/schema/field"
)
// CarDelete is the builder for deleting a Car entity.

View File

@@ -12,12 +12,12 @@ import (
"fmt"
"math"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/examples/start/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/start/ent/car"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// CarQuery is the builder for querying Car entities.

View File

@@ -11,12 +11,12 @@ import (
"fmt"
"time"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/examples/start/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/start/ent/car"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// CarUpdate is the builder for updating Car entities.

View File

@@ -11,15 +11,15 @@ import (
"fmt"
"log"
"github.com/facebookincubator/ent/examples/start/ent/migrate"
"github.com/facebook/ent/examples/start/ent/migrate"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebook/ent/examples/start/ent/car"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/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/start/ent"
"github.com/facebook/ent/examples/start/ent"
// required by schema hooks.
_ "github.com/facebookincubator/ent/examples/start/ent/runtime"
_ "github.com/facebook/ent/examples/start/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,8 +10,8 @@ import (
"fmt"
"strings"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/examples/start/ent/group"
)
// Group is the model entity for the Group schema.

View File

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

View File

@@ -11,10 +11,10 @@ import (
"errors"
"fmt"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// GroupCreate is the builder for creating a Group 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/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/schema/field"
)
// GroupDelete is the builder for deleting a Group entity.

View File

@@ -13,12 +13,12 @@ import (
"fmt"
"math"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/examples/start/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/start/ent/group"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// GroupQuery is the builder for querying Group entities.

View File

@@ -10,12 +10,12 @@ import (
"context"
"fmt"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/examples/start/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/start/ent/group"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// GroupUpdate is the builder for updating Group entities.

View File

@@ -10,7 +10,7 @@ import (
"context"
"fmt"
"github.com/facebookincubator/ent/examples/start/ent"
"github.com/facebook/ent/examples/start/ent"
)
// The CarFunc 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

@@ -12,11 +12,11 @@ import (
"sync"
"time"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebook/ent/examples/start/ent/car"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/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"
)
// Car is the predicate function for car builders.

View File

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

View File

@@ -7,9 +7,9 @@
package ent
import (
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/schema"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/ent/schema"
"github.com/facebook/ent/examples/start/ent/user"
)
// The init function reads all schema descriptors with runtime

View File

@@ -6,7 +6,7 @@
package runtime
// The schema-stitching logic is generated in github.com/facebookincubator/ent/examples/start/ent/runtime.go
// The schema-stitching logic is generated in github.com/facebook/ent/examples/start/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"
)
// Car holds the schema definition for the Car entity.

View File

@@ -7,9 +7,9 @@ package schema
import (
"regexp"
"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"
)
// Group holds the schema definition for the Group entity.

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/start/ent/user"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/examples/start/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/start/ent/predicate"
"github.com/facebook/ent/dialect/sql"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/start/ent/predicate"
)
// ID filters vertices based on their identifier.

View File

@@ -11,11 +11,11 @@ import (
"errors"
"fmt"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebookincubator/ent/schema/field"
"github.com/facebook/ent/dialect/sql/sqlgraph"
"github.com/facebook/ent/examples/start/ent/car"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/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/start/ent/predicate"
"github.com/facebookincubator/ent/examples/start/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/start/ent/predicate"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// UserDelete is the builder for deleting a User entity.

View File

@@ -13,13 +13,13 @@ import (
"fmt"
"math"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/examples/start/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/start/ent/car"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// UserQuery is the builder for querying User entities.

View File

@@ -10,13 +10,13 @@ import (
"context"
"fmt"
"github.com/facebookincubator/ent/dialect/sql"
"github.com/facebookincubator/ent/dialect/sql/sqlgraph"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/predicate"
"github.com/facebookincubator/ent/examples/start/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/start/ent/car"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/ent/predicate"
"github.com/facebook/ent/examples/start/ent/user"
"github.com/facebook/ent/schema/field"
)
// UserUpdate is the builder for updating User entities.

View File

@@ -10,10 +10,10 @@ import (
"log"
"time"
"github.com/facebookincubator/ent/examples/start/ent"
"github.com/facebookincubator/ent/examples/start/ent/car"
"github.com/facebookincubator/ent/examples/start/ent/group"
"github.com/facebookincubator/ent/examples/start/ent/user"
"github.com/facebook/ent/examples/start/ent"
"github.com/facebook/ent/examples/start/ent/car"
"github.com/facebook/ent/examples/start/ent/group"
"github.com/facebook/ent/examples/start/ent/user"
_ "github.com/mattn/go-sqlite3"
)