From 5bc8568069b35c56d0c1dd7a1ff01324dd04d9ce Mon Sep 17 00:00:00 2001 From: Ariel Mashraki Date: Fri, 30 Aug 2019 08:44:28 -0700 Subject: [PATCH] all: add license reference to README and add copyright headers to gencode Reviewed By: alexsn Differential Revision: D17119262 fbshipit-source-id: 046f095ca9432c920778db0edb2158dedb23c0a2 --- README.md | 171 +----------------- entc/gen/bindata.go | 93 +++++----- entc/integration/ent/card.go | 4 + entc/integration/ent/card/card.go | 4 + entc/integration/ent/card/where.go | 4 + entc/integration/ent/card_create.go | 4 + entc/integration/ent/card_delete.go | 4 + entc/integration/ent/card_query.go | 4 + entc/integration/ent/card_update.go | 4 + entc/integration/ent/client.go | 4 + entc/integration/ent/comment.go | 4 + entc/integration/ent/comment/comment.go | 4 + entc/integration/ent/comment/where.go | 4 + entc/integration/ent/comment_create.go | 4 + entc/integration/ent/comment_delete.go | 4 + entc/integration/ent/comment_query.go | 4 + entc/integration/ent/comment_update.go | 4 + entc/integration/ent/config.go | 4 + entc/integration/ent/context.go | 4 + entc/integration/ent/ent.go | 4 + entc/integration/ent/example_test.go | 4 + entc/integration/ent/fieldtype.go | 4 + entc/integration/ent/fieldtype/fieldtype.go | 4 + entc/integration/ent/fieldtype/where.go | 4 + entc/integration/ent/fieldtype_create.go | 4 + entc/integration/ent/fieldtype_delete.go | 4 + entc/integration/ent/fieldtype_query.go | 4 + entc/integration/ent/fieldtype_update.go | 4 + entc/integration/ent/file.go | 4 + entc/integration/ent/file/file.go | 4 + entc/integration/ent/file/where.go | 4 + entc/integration/ent/file_create.go | 4 + entc/integration/ent/file_delete.go | 4 + entc/integration/ent/file_query.go | 4 + entc/integration/ent/file_update.go | 4 + entc/integration/ent/filetype.go | 4 + entc/integration/ent/filetype/filetype.go | 4 + entc/integration/ent/filetype/where.go | 4 + entc/integration/ent/filetype_create.go | 4 + entc/integration/ent/filetype_delete.go | 4 + entc/integration/ent/filetype_query.go | 4 + entc/integration/ent/filetype_update.go | 4 + entc/integration/ent/group.go | 4 + entc/integration/ent/group/group.go | 4 + entc/integration/ent/group/where.go | 4 + entc/integration/ent/group_create.go | 4 + entc/integration/ent/group_delete.go | 4 + entc/integration/ent/group_query.go | 4 + entc/integration/ent/group_update.go | 4 + entc/integration/ent/groupinfo.go | 4 + entc/integration/ent/groupinfo/groupinfo.go | 4 + entc/integration/ent/groupinfo/where.go | 4 + entc/integration/ent/groupinfo_create.go | 4 + entc/integration/ent/groupinfo_delete.go | 4 + entc/integration/ent/groupinfo_query.go | 4 + entc/integration/ent/groupinfo_update.go | 4 + entc/integration/ent/migrate/migrate.go | 4 + entc/integration/ent/migrate/schema.go | 4 + entc/integration/ent/node.go | 4 + entc/integration/ent/node/node.go | 4 + entc/integration/ent/node/where.go | 4 + entc/integration/ent/node_create.go | 4 + entc/integration/ent/node_delete.go | 4 + entc/integration/ent/node_query.go | 4 + entc/integration/ent/node_update.go | 4 + entc/integration/ent/pet.go | 4 + entc/integration/ent/pet/pet.go | 4 + entc/integration/ent/pet/where.go | 4 + entc/integration/ent/pet_create.go | 4 + entc/integration/ent/pet_delete.go | 4 + entc/integration/ent/pet_query.go | 4 + entc/integration/ent/pet_update.go | 4 + entc/integration/ent/predicate/predicate.go | 4 + entc/integration/ent/tx.go | 4 + entc/integration/ent/user.go | 4 + entc/integration/ent/user/user.go | 4 + entc/integration/ent/user/where.go | 4 + entc/integration/ent/user_create.go | 4 + entc/integration/ent/user_delete.go | 4 + entc/integration/ent/user_query.go | 4 + entc/integration/ent/user_update.go | 4 + entc/integration/generate.go | 6 +- entc/integration/migrate/entv1/client.go | 4 + entc/integration/migrate/entv1/config.go | 4 + entc/integration/migrate/entv1/context.go | 4 + entc/integration/migrate/entv1/ent.go | 4 + .../integration/migrate/entv1/example_test.go | 4 + .../migrate/entv1/migrate/migrate.go | 4 + .../migrate/entv1/migrate/schema.go | 4 + .../migrate/entv1/predicate/predicate.go | 4 + entc/integration/migrate/entv1/tx.go | 4 + entc/integration/migrate/entv1/user.go | 4 + entc/integration/migrate/entv1/user/user.go | 4 + entc/integration/migrate/entv1/user/where.go | 4 + entc/integration/migrate/entv1/user_create.go | 4 + entc/integration/migrate/entv1/user_delete.go | 4 + entc/integration/migrate/entv1/user_query.go | 4 + entc/integration/migrate/entv1/user_update.go | 4 + entc/integration/migrate/entv2/client.go | 4 + entc/integration/migrate/entv2/config.go | 4 + entc/integration/migrate/entv2/context.go | 4 + entc/integration/migrate/entv2/ent.go | 4 + .../integration/migrate/entv2/example_test.go | 4 + entc/integration/migrate/entv2/group.go | 4 + entc/integration/migrate/entv2/group/group.go | 4 + entc/integration/migrate/entv2/group/where.go | 4 + .../integration/migrate/entv2/group_create.go | 4 + .../integration/migrate/entv2/group_delete.go | 4 + entc/integration/migrate/entv2/group_query.go | 4 + .../integration/migrate/entv2/group_update.go | 4 + .../migrate/entv2/migrate/migrate.go | 4 + .../migrate/entv2/migrate/schema.go | 4 + entc/integration/migrate/entv2/pet.go | 4 + entc/integration/migrate/entv2/pet/pet.go | 4 + entc/integration/migrate/entv2/pet/where.go | 4 + entc/integration/migrate/entv2/pet_create.go | 4 + entc/integration/migrate/entv2/pet_delete.go | 4 + entc/integration/migrate/entv2/pet_query.go | 4 + entc/integration/migrate/entv2/pet_update.go | 4 + .../migrate/entv2/predicate/predicate.go | 4 + entc/integration/migrate/entv2/tx.go | 4 + entc/integration/migrate/entv2/user.go | 4 + entc/integration/migrate/entv2/user/user.go | 4 + entc/integration/migrate/entv2/user/where.go | 4 + entc/integration/migrate/entv2/user_create.go | 4 + entc/integration/migrate/entv2/user_delete.go | 4 + entc/integration/migrate/entv2/user_query.go | 4 + entc/integration/migrate/entv2/user_update.go | 4 + entc/load/bindata.go | 19 +- examples/edgeindex/ent/city.go | 4 + examples/edgeindex/ent/city/city.go | 4 + examples/edgeindex/ent/city/where.go | 4 + examples/edgeindex/ent/city_create.go | 4 + examples/edgeindex/ent/city_delete.go | 4 + examples/edgeindex/ent/city_query.go | 4 + examples/edgeindex/ent/city_update.go | 4 + examples/edgeindex/ent/client.go | 4 + examples/edgeindex/ent/config.go | 4 + examples/edgeindex/ent/context.go | 4 + examples/edgeindex/ent/ent.go | 4 + examples/edgeindex/ent/example_test.go | 4 + examples/edgeindex/ent/generate.go | 2 +- examples/edgeindex/ent/migrate/migrate.go | 4 + examples/edgeindex/ent/migrate/schema.go | 4 + examples/edgeindex/ent/predicate/predicate.go | 4 + examples/edgeindex/ent/street.go | 4 + examples/edgeindex/ent/street/street.go | 4 + examples/edgeindex/ent/street/where.go | 4 + examples/edgeindex/ent/street_create.go | 4 + examples/edgeindex/ent/street_delete.go | 4 + examples/edgeindex/ent/street_query.go | 4 + examples/edgeindex/ent/street_update.go | 4 + examples/edgeindex/ent/tx.go | 4 + examples/m2m2types/ent/client.go | 4 + examples/m2m2types/ent/config.go | 4 + examples/m2m2types/ent/context.go | 4 + examples/m2m2types/ent/ent.go | 4 + examples/m2m2types/ent/example_test.go | 4 + examples/m2m2types/ent/generate.go | 2 +- examples/m2m2types/ent/group.go | 4 + examples/m2m2types/ent/group/group.go | 4 + examples/m2m2types/ent/group/where.go | 4 + examples/m2m2types/ent/group_create.go | 4 + examples/m2m2types/ent/group_delete.go | 4 + examples/m2m2types/ent/group_query.go | 4 + examples/m2m2types/ent/group_update.go | 4 + examples/m2m2types/ent/migrate/migrate.go | 4 + examples/m2m2types/ent/migrate/schema.go | 4 + examples/m2m2types/ent/predicate/predicate.go | 4 + examples/m2m2types/ent/tx.go | 4 + examples/m2m2types/ent/user.go | 4 + examples/m2m2types/ent/user/user.go | 4 + examples/m2m2types/ent/user/where.go | 4 + examples/m2m2types/ent/user_create.go | 4 + examples/m2m2types/ent/user_delete.go | 4 + examples/m2m2types/ent/user_query.go | 4 + examples/m2m2types/ent/user_update.go | 4 + examples/m2mbidi/ent/client.go | 4 + examples/m2mbidi/ent/config.go | 4 + examples/m2mbidi/ent/context.go | 4 + examples/m2mbidi/ent/ent.go | 4 + examples/m2mbidi/ent/example_test.go | 4 + examples/m2mbidi/ent/generate.go | 2 +- examples/m2mbidi/ent/migrate/migrate.go | 4 + examples/m2mbidi/ent/migrate/schema.go | 4 + examples/m2mbidi/ent/predicate/predicate.go | 4 + examples/m2mbidi/ent/tx.go | 4 + examples/m2mbidi/ent/user.go | 4 + examples/m2mbidi/ent/user/user.go | 4 + examples/m2mbidi/ent/user/where.go | 4 + examples/m2mbidi/ent/user_create.go | 4 + examples/m2mbidi/ent/user_delete.go | 4 + examples/m2mbidi/ent/user_query.go | 4 + examples/m2mbidi/ent/user_update.go | 4 + examples/m2mrecur/ent/client.go | 4 + examples/m2mrecur/ent/config.go | 4 + examples/m2mrecur/ent/context.go | 4 + examples/m2mrecur/ent/ent.go | 4 + examples/m2mrecur/ent/example_test.go | 4 + examples/m2mrecur/ent/generate.go | 2 +- examples/m2mrecur/ent/migrate/migrate.go | 4 + examples/m2mrecur/ent/migrate/schema.go | 4 + examples/m2mrecur/ent/predicate/predicate.go | 4 + examples/m2mrecur/ent/tx.go | 4 + examples/m2mrecur/ent/user.go | 4 + examples/m2mrecur/ent/user/user.go | 4 + examples/m2mrecur/ent/user/where.go | 4 + examples/m2mrecur/ent/user_create.go | 4 + examples/m2mrecur/ent/user_delete.go | 4 + examples/m2mrecur/ent/user_query.go | 4 + examples/m2mrecur/ent/user_update.go | 4 + examples/o2m2types/ent/client.go | 4 + examples/o2m2types/ent/config.go | 4 + examples/o2m2types/ent/context.go | 4 + examples/o2m2types/ent/ent.go | 4 + examples/o2m2types/ent/example_test.go | 4 + examples/o2m2types/ent/generate.go | 2 +- examples/o2m2types/ent/migrate/migrate.go | 4 + examples/o2m2types/ent/migrate/schema.go | 4 + examples/o2m2types/ent/pet.go | 4 + examples/o2m2types/ent/pet/pet.go | 4 + examples/o2m2types/ent/pet/where.go | 4 + examples/o2m2types/ent/pet_create.go | 4 + examples/o2m2types/ent/pet_delete.go | 4 + examples/o2m2types/ent/pet_query.go | 4 + examples/o2m2types/ent/pet_update.go | 4 + examples/o2m2types/ent/predicate/predicate.go | 4 + examples/o2m2types/ent/tx.go | 4 + examples/o2m2types/ent/user.go | 4 + examples/o2m2types/ent/user/user.go | 4 + examples/o2m2types/ent/user/where.go | 4 + examples/o2m2types/ent/user_create.go | 4 + examples/o2m2types/ent/user_delete.go | 4 + examples/o2m2types/ent/user_query.go | 4 + examples/o2m2types/ent/user_update.go | 4 + examples/o2mrecur/ent/client.go | 4 + examples/o2mrecur/ent/config.go | 4 + examples/o2mrecur/ent/context.go | 4 + examples/o2mrecur/ent/ent.go | 4 + examples/o2mrecur/ent/example_test.go | 4 + examples/o2mrecur/ent/generate.go | 2 +- examples/o2mrecur/ent/migrate/migrate.go | 4 + examples/o2mrecur/ent/migrate/schema.go | 4 + examples/o2mrecur/ent/node.go | 4 + examples/o2mrecur/ent/node/node.go | 4 + examples/o2mrecur/ent/node/where.go | 4 + examples/o2mrecur/ent/node_create.go | 4 + examples/o2mrecur/ent/node_delete.go | 4 + examples/o2mrecur/ent/node_query.go | 4 + examples/o2mrecur/ent/node_update.go | 4 + examples/o2mrecur/ent/predicate/predicate.go | 4 + examples/o2mrecur/ent/tx.go | 4 + examples/o2o2types/ent/card.go | 4 + examples/o2o2types/ent/card/card.go | 4 + examples/o2o2types/ent/card/where.go | 4 + examples/o2o2types/ent/card_create.go | 4 + examples/o2o2types/ent/card_delete.go | 4 + examples/o2o2types/ent/card_query.go | 4 + examples/o2o2types/ent/card_update.go | 4 + examples/o2o2types/ent/client.go | 4 + examples/o2o2types/ent/config.go | 4 + examples/o2o2types/ent/context.go | 4 + examples/o2o2types/ent/ent.go | 4 + examples/o2o2types/ent/example_test.go | 4 + examples/o2o2types/ent/generate.go | 2 +- examples/o2o2types/ent/migrate/migrate.go | 4 + examples/o2o2types/ent/migrate/schema.go | 4 + examples/o2o2types/ent/predicate/predicate.go | 4 + examples/o2o2types/ent/tx.go | 4 + examples/o2o2types/ent/user.go | 4 + examples/o2o2types/ent/user/user.go | 4 + examples/o2o2types/ent/user/where.go | 4 + examples/o2o2types/ent/user_create.go | 4 + examples/o2o2types/ent/user_delete.go | 4 + examples/o2o2types/ent/user_query.go | 4 + examples/o2o2types/ent/user_update.go | 4 + examples/o2obidi/ent/client.go | 4 + examples/o2obidi/ent/config.go | 4 + examples/o2obidi/ent/context.go | 4 + examples/o2obidi/ent/ent.go | 4 + examples/o2obidi/ent/example_test.go | 4 + examples/o2obidi/ent/generate.go | 2 +- examples/o2obidi/ent/migrate/migrate.go | 4 + examples/o2obidi/ent/migrate/schema.go | 4 + examples/o2obidi/ent/predicate/predicate.go | 4 + examples/o2obidi/ent/tx.go | 4 + examples/o2obidi/ent/user.go | 4 + examples/o2obidi/ent/user/user.go | 4 + examples/o2obidi/ent/user/where.go | 4 + examples/o2obidi/ent/user_create.go | 4 + examples/o2obidi/ent/user_delete.go | 4 + examples/o2obidi/ent/user_query.go | 4 + examples/o2obidi/ent/user_update.go | 4 + examples/o2orecur/ent/client.go | 4 + examples/o2orecur/ent/config.go | 4 + examples/o2orecur/ent/context.go | 4 + examples/o2orecur/ent/ent.go | 4 + examples/o2orecur/ent/example_test.go | 4 + examples/o2orecur/ent/generate.go | 2 +- examples/o2orecur/ent/migrate/migrate.go | 4 + examples/o2orecur/ent/migrate/schema.go | 4 + examples/o2orecur/ent/node.go | 4 + examples/o2orecur/ent/node/node.go | 4 + examples/o2orecur/ent/node/where.go | 4 + examples/o2orecur/ent/node_create.go | 4 + examples/o2orecur/ent/node_delete.go | 4 + examples/o2orecur/ent/node_query.go | 4 + examples/o2orecur/ent/node_update.go | 4 + examples/o2orecur/ent/predicate/predicate.go | 4 + examples/o2orecur/ent/tx.go | 4 + examples/traversal/ent/client.go | 4 + examples/traversal/ent/config.go | 4 + examples/traversal/ent/context.go | 4 + examples/traversal/ent/ent.go | 4 + examples/traversal/ent/example_test.go | 4 + examples/traversal/ent/generate.go | 2 +- examples/traversal/ent/group.go | 4 + examples/traversal/ent/group/group.go | 4 + examples/traversal/ent/group/where.go | 4 + examples/traversal/ent/group_create.go | 4 + examples/traversal/ent/group_delete.go | 4 + examples/traversal/ent/group_query.go | 4 + examples/traversal/ent/group_update.go | 4 + examples/traversal/ent/migrate/migrate.go | 4 + examples/traversal/ent/migrate/schema.go | 4 + examples/traversal/ent/pet.go | 4 + examples/traversal/ent/pet/pet.go | 4 + examples/traversal/ent/pet/where.go | 4 + examples/traversal/ent/pet_create.go | 4 + examples/traversal/ent/pet_delete.go | 4 + examples/traversal/ent/pet_query.go | 4 + examples/traversal/ent/pet_update.go | 4 + examples/traversal/ent/predicate/predicate.go | 4 + examples/traversal/ent/tx.go | 4 + examples/traversal/ent/user.go | 4 + examples/traversal/ent/user/user.go | 4 + examples/traversal/ent/user/where.go | 4 + examples/traversal/ent/user_create.go | 4 + examples/traversal/ent/user_delete.go | 4 + examples/traversal/ent/user_query.go | 4 + examples/traversal/ent/user_update.go | 4 + 341 files changed, 1368 insertions(+), 249 deletions(-) diff --git a/README.md b/README.md index 575c80305..f736b57a5 100644 --- a/README.md +++ b/README.md @@ -1,172 +1,5 @@ ## Ent -> Note: if you edit this file, don't forget to update the [Wiki][wiki] as well. +## License -### First Installation - -If it is the first time you work with `entc`, you need to compile it manually, -since we don't have any official binary distribution. - -``` -cd fbsource/fbcode/github.com/facebookincubator/ent/entc/cmd/entc -go build -sudo mv entc /usr/local/bin -``` - -### Creating Schema -If you came here to see how to create your first schema, it's preferred to give `entc` -to do it for you in order to keep the same standard for all projects that use it. -Run the following (replace `User/Group` with your entities): - -``` -entc init User Group -``` - -The schema that was created has 2 methods: `User.Fields` and `User.Edges`. The first defines the fields/properties -of the entity in the graph, and the second defines the edges for other entities (or to itself) in the graph. - -Here are a few examples that will help you to understand what field/edge to declare in your schema -``` -type User struct{ - ent.Schema -} - -func (User) Fields() []ent.Field { - return []ent.Field{ - // "age" defines a field of type int, with a positive validator. - // The validator is called on create or update on this field. - field.Int("age"). - Positive(), - - // "name" defines a field of type string, and overrides the standard - // tag for the generated entity. - field.String("name"). - StructTag(`json:"first_name" graphql:"first_name"`), - - // "last" defines a field of type string, with default (on creation) to "unknown", - // and 2 validators. - field.String("last"). - Default("unknown"). - Match(regexp.MustCompile("[a-zA-Z_]+$")). - Validate(func(s string) error { - if strings.ToLower(s) == s { - return errors.New("last name must begin with uppercase") - } - return nil - }), - } -} - -func (User) Edges() []ent.Edge { - return []ent.Edge{ - // "groups" defines an edge to the Group entity (also a schema in this package). - // The relation type for this edge is many-2-many. - edge.To("groups", Group.Type), - - // "workplace" defines an edge from the Company entity (also a schema in this package). - // The relation type for this edge is many-2-one, and the owner of this edge, is the - // Company entity. - edge.From("workplace", Company.Type).Unique().Ref("employees"), - - // "parent" defines an edge from a User to itself. - edge.To("parent", User.Type).Unique().From("children"), - } -} -``` - -### Code Generation - -After running init, run the codegen on the directory the was created (`ent/schema`). - -``` -entc generate ./ent/schema -``` - -In addition to the "production" code, `entc` generates for you also an `example_test.go` file -with example for each ent in the graph. - -### Working with the generated code - -First, you need to create the `ent.Client` in order to interact with the different builders, -then, use this client to create, update, delete, or query entities. - -``` -package main - -import ( - "log" - - "/ent" - "/ent/user" - "github.com/facebookincubator/ent/dialect/sql" -) - -func main() { - ctx := context.Backgorund() - drv, err := sql.Open("mysql", "root:pass@tcp(localhost:3306)/test?charset=utf8&parseTime=True") - if err != nil { - log.Fatal(err) - } - defer drv.Close() - client := ent.NewClient(drv) - - // Create: - - // `client.User` holds the `UserClient`, and `client.User.Create()` returns a new User creator. - a8m, err := client.User. - Create(). - SetAge(30) - SetName("a8m"). - Save(ctx) - if err != nil { - log.Fatal(err) - } - // If you want to ignore the error checks in the code, replace `Save` with `SaveX`. - - // Delete: - - // delete one. - client.User.DeleteOne(a8m).ExecX(ctx) - // delete all. - client.User.Delete().ExecX(ctx) - // delete with condition. - client.User.Delete().Where(user.Name("a8m")).ExecX(ctx) - - // Update: - - // add a user to a group. - a8m = client.User.UpdateOne(a8m).AddGroups(grp).SaveX(ctx) - // delete a user from a group. - a8m = client.User.UpdateOne(a8m).RemoveGroups(grp).SaveX(ctx) - // add user to all groups. - client.Group.Update().AddUsers(a8m).ExecX(ctx) - - // Query: - - // get all groups. - groups := client.Group.Query().AllX(ctx) - // get all groups of a specific user. - groups = a8m.QueryGroups().AllX(ctx) - // query by path. - users := client.Group. - Query(). - Where(group.HasUsers(), group.NameHasPrefix("fb")). - QueryUsers(). - AllX(ctx) - - // Aggregation: - - var v []struct{ - Name string `json:"name"` - Count int `json:"count"` - } - client.User. - Query(). - GroupBy(user.FieldName). - Aggregate(ent.Count()). - ScanX(&v) -} -``` - - -[wiki]: https://our.internmc.facebook.com/intern/wiki/Facebook_Connectivity_(FBC)/Entity_Framework/ +ent is licensed under Apache 2.0 as found in the LICENSE file. diff --git a/entc/gen/bindata.go b/entc/gen/bindata.go index dc81afd05..beb8ecb06 100644 --- a/entc/gen/bindata.go +++ b/entc/gen/bindata.go @@ -1,4 +1,4 @@ -// Package gen Code generated by go-bindata. (@generated) DO NOT EDIT. +// Code generated by go-bindata. (@generated) DO NOT EDIT. // sources: // template/base.tmpl // template/builder/create.tmpl @@ -85,32 +85,21 @@ type bindataFileInfo struct { modTime time.Time } -// Name return file name func (fi bindataFileInfo) Name() string { return fi.name } - -// Size return file size func (fi bindataFileInfo) Size() int64 { return fi.size } - -// Mode return file mode func (fi bindataFileInfo) Mode() os.FileMode { return fi.mode } - -// Mode return file modify time func (fi bindataFileInfo) ModTime() time.Time { return fi.modTime } - -// IsDir return file whether a directory func (fi bindataFileInfo) IsDir() bool { - return fi.mode&os.ModeDir != 0 + return false } - -// Sys return file is sys mode func (fi bindataFileInfo) Sys() interface{} { return nil } @@ -130,7 +119,7 @@ func templateBaseTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/base.tmpl", size: 5021, mode: os.FileMode(420), modTime: time.Unix(1565007749, 0)} + info := bindataFileInfo{name: "template/base.tmpl", size: 5021, mode: os.FileMode(420), modTime: time.Unix(1564913315, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -150,7 +139,7 @@ func templateBuilderCreateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/builder/create.tmpl", size: 2845, mode: os.FileMode(420), modTime: time.Unix(1566925536, 0)} + info := bindataFileInfo{name: "template/builder/create.tmpl", size: 2845, mode: os.FileMode(420), modTime: time.Unix(1566979817, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -170,7 +159,7 @@ func templateBuilderDeleteTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/builder/delete.tmpl", size: 2044, mode: os.FileMode(420), modTime: time.Unix(1565162769, 0)} + info := bindataFileInfo{name: "template/builder/delete.tmpl", size: 2044, mode: os.FileMode(420), modTime: time.Unix(1565106398, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -190,7 +179,7 @@ func templateBuilderQueryTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/builder/query.tmpl", size: 13220, mode: os.FileMode(420), modTime: time.Unix(1565178244, 0)} + info := bindataFileInfo{name: "template/builder/query.tmpl", size: 13220, mode: os.FileMode(420), modTime: time.Unix(1565165343, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -210,7 +199,7 @@ func templateBuilderSetterTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/builder/setter.tmpl", size: 3256, mode: os.FileMode(420), modTime: time.Unix(1566925536, 0)} + info := bindataFileInfo{name: "template/builder/setter.tmpl", size: 3256, mode: os.FileMode(420), modTime: time.Unix(1566979817, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -230,7 +219,7 @@ func templateBuilderUpdateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/builder/update.tmpl", size: 7651, mode: os.FileMode(420), modTime: time.Unix(1566925536, 0)} + info := bindataFileInfo{name: "template/builder/update.tmpl", size: 7651, mode: os.FileMode(420), modTime: time.Unix(1566979817, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -250,7 +239,7 @@ func templateClientTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/client.tmpl", size: 4844, mode: os.FileMode(420), modTime: time.Unix(1567076802, 0)} + info := bindataFileInfo{name: "template/client.tmpl", size: 4844, mode: os.FileMode(420), modTime: time.Unix(1567007034, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -270,7 +259,7 @@ func templateConfigTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/config.tmpl", size: 1058, mode: os.FileMode(420), modTime: time.Unix(1567000965, 0)} + info := bindataFileInfo{name: "template/config.tmpl", size: 1058, mode: os.FileMode(420), modTime: time.Unix(1567007034, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -290,7 +279,7 @@ func templateContextTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/context.tmpl", size: 523, mode: os.FileMode(420), modTime: time.Unix(1565007749, 0)} + info := bindataFileInfo{name: "template/context.tmpl", size: 523, mode: os.FileMode(420), modTime: time.Unix(1564913326, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -310,7 +299,7 @@ func templateDialectGremlinByTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/by.tmpl", size: 1679, mode: os.FileMode(420), modTime: time.Unix(1564494654, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/by.tmpl", size: 1679, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -330,7 +319,7 @@ func templateDialectGremlinCreateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/create.tmpl", size: 2567, mode: os.FileMode(420), modTime: time.Unix(1560858191, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/create.tmpl", size: 2567, mode: os.FileMode(420), modTime: time.Unix(1558503319, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -350,7 +339,7 @@ func templateDialectGremlinDecodeTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/decode.tmpl", size: 1924, mode: os.FileMode(420), modTime: time.Unix(1566987566, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/decode.tmpl", size: 1924, mode: os.FileMode(420), modTime: time.Unix(1566981175, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -370,7 +359,7 @@ func templateDialectGremlinDeleteTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/delete.tmpl", size: 541, mode: os.FileMode(420), modTime: time.Unix(1564440681, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/delete.tmpl", size: 541, mode: os.FileMode(420), modTime: time.Unix(1563979564, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -390,7 +379,7 @@ func templateDialectGremlinErrorsTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/errors.tmpl", size: 1608, mode: os.FileMode(420), modTime: time.Unix(1564494654, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/errors.tmpl", size: 1608, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -410,7 +399,7 @@ func templateDialectGremlinGroupTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/group.tmpl", size: 1151, mode: os.FileMode(420), modTime: time.Unix(1560858192, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/group.tmpl", size: 1151, mode: os.FileMode(420), modTime: time.Unix(1558503319, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -430,7 +419,7 @@ func templateDialectGremlinMetaTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/meta.tmpl", size: 508, mode: os.FileMode(420), modTime: time.Unix(1564494654, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/meta.tmpl", size: 508, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -450,7 +439,7 @@ func templateDialectGremlinPredicateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/predicate.tmpl", size: 3117, mode: os.FileMode(420), modTime: time.Unix(1565187546, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/predicate.tmpl", size: 3117, mode: os.FileMode(420), modTime: time.Unix(1565183614, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -470,7 +459,7 @@ func templateDialectGremlinQueryTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/query.tmpl", size: 3733, mode: os.FileMode(420), modTime: time.Unix(1564494654, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/query.tmpl", size: 3733, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -490,7 +479,7 @@ func templateDialectGremlinUpdateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/gremlin/update.tmpl", size: 4840, mode: os.FileMode(420), modTime: time.Unix(1566925536, 0)} + info := bindataFileInfo{name: "template/dialect/gremlin/update.tmpl", size: 4840, mode: os.FileMode(420), modTime: time.Unix(1566979817, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -510,7 +499,7 @@ func templateDialectSqlByTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/by.tmpl", size: 753, mode: os.FileMode(420), modTime: time.Unix(1564494654, 0)} + info := bindataFileInfo{name: "template/dialect/sql/by.tmpl", size: 753, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -530,7 +519,7 @@ func templateDialectSqlCreateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/create.tmpl", size: 6066, mode: os.FileMode(420), modTime: time.Unix(1565187546, 0)} + info := bindataFileInfo{name: "template/dialect/sql/create.tmpl", size: 6066, mode: os.FileMode(420), modTime: time.Unix(1565180278, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -550,7 +539,7 @@ func templateDialectSqlDecodeTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/decode.tmpl", size: 1820, mode: os.FileMode(420), modTime: time.Unix(1566217695, 0)} + info := bindataFileInfo{name: "template/dialect/sql/decode.tmpl", size: 1820, mode: os.FileMode(420), modTime: time.Unix(1566224080, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -570,7 +559,7 @@ func templateDialectSqlDeleteTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/delete.tmpl", size: 489, mode: os.FileMode(420), modTime: time.Unix(1564440681, 0)} + info := bindataFileInfo{name: "template/dialect/sql/delete.tmpl", size: 489, mode: os.FileMode(420), modTime: time.Unix(1563979564, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -590,7 +579,7 @@ func templateDialectSqlErrorsTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/errors.tmpl", size: 771, mode: os.FileMode(420), modTime: time.Unix(1564494654, 0)} + info := bindataFileInfo{name: "template/dialect/sql/errors.tmpl", size: 771, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -610,7 +599,7 @@ func templateDialectSqlGroupTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/group.tmpl", size: 835, mode: os.FileMode(420), modTime: time.Unix(1560858192, 0)} + info := bindataFileInfo{name: "template/dialect/sql/group.tmpl", size: 835, mode: os.FileMode(420), modTime: time.Unix(1558503319, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -630,7 +619,7 @@ func templateDialectSqlMetaTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/meta.tmpl", size: 1586, mode: os.FileMode(420), modTime: time.Unix(1564494654, 0)} + info := bindataFileInfo{name: "template/dialect/sql/meta.tmpl", size: 1586, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -650,7 +639,7 @@ func templateDialectSqlPredicateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/predicate.tmpl", size: 4330, mode: os.FileMode(420), modTime: time.Unix(1565187546, 0)} + info := bindataFileInfo{name: "template/dialect/sql/predicate.tmpl", size: 4330, mode: os.FileMode(420), modTime: time.Unix(1565183595, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -670,7 +659,7 @@ func templateDialectSqlQueryTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/query.tmpl", size: 6186, mode: os.FileMode(420), modTime: time.Unix(1564498182, 0)} + info := bindataFileInfo{name: "template/dialect/sql/query.tmpl", size: 6186, mode: os.FileMode(420), modTime: time.Unix(1564480239, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -690,7 +679,7 @@ func templateDialectSqlUpdateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/dialect/sql/update.tmpl", size: 11432, mode: os.FileMode(420), modTime: time.Unix(1566925536, 0)} + info := bindataFileInfo{name: "template/dialect/sql/update.tmpl", size: 11432, mode: os.FileMode(420), modTime: time.Unix(1566979817, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -710,7 +699,7 @@ func templateEntTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/ent.tmpl", size: 3369, mode: os.FileMode(420), modTime: time.Unix(1565187546, 0)} + info := bindataFileInfo{name: "template/ent.tmpl", size: 3369, mode: os.FileMode(420), modTime: time.Unix(1565180140, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -730,7 +719,7 @@ func templateExampleTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/example.tmpl", size: 2229, mode: os.FileMode(420), modTime: time.Unix(1566238093, 0)} + info := bindataFileInfo{name: "template/example.tmpl", size: 2229, mode: os.FileMode(420), modTime: time.Unix(1566224088, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -750,7 +739,7 @@ func templateHeaderTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/header.tmpl", size: 240, mode: os.FileMode(420), modTime: time.Unix(1565007749, 0)} + info := bindataFileInfo{name: "template/header.tmpl", size: 240, mode: os.FileMode(420), modTime: time.Unix(1564913919, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -770,7 +759,7 @@ func templateImportTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/import.tmpl", size: 556, mode: os.FileMode(420), modTime: time.Unix(1566238093, 0)} + info := bindataFileInfo{name: "template/import.tmpl", size: 556, mode: os.FileMode(420), modTime: time.Unix(1566224088, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -790,7 +779,7 @@ func templateMetaTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/meta.tmpl", size: 2628, mode: os.FileMode(420), modTime: time.Unix(1566925536, 0)} + info := bindataFileInfo{name: "template/meta.tmpl", size: 2628, mode: os.FileMode(420), modTime: time.Unix(1566979817, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -810,7 +799,7 @@ func templateMigrateMigrateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/migrate/migrate.tmpl", size: 1738, mode: os.FileMode(420), modTime: time.Unix(1566238093, 0)} + info := bindataFileInfo{name: "template/migrate/migrate.tmpl", size: 1738, mode: os.FileMode(420), modTime: time.Unix(1566224088, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -830,7 +819,7 @@ func templateMigrateSchemaTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/migrate/schema.tmpl", size: 3479, mode: os.FileMode(420), modTime: time.Unix(1567076814, 0)} + info := bindataFileInfo{name: "template/migrate/schema.tmpl", size: 3479, mode: os.FileMode(420), modTime: time.Unix(1567092449, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -850,7 +839,7 @@ func templatePredicateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/predicate.tmpl", size: 1017, mode: os.FileMode(420), modTime: time.Unix(1566238093, 0)} + info := bindataFileInfo{name: "template/predicate.tmpl", size: 1017, mode: os.FileMode(420), modTime: time.Unix(1566224088, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -870,7 +859,7 @@ func templateTxTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/tx.tmpl", size: 3186, mode: os.FileMode(420), modTime: time.Unix(1566238093, 0)} + info := bindataFileInfo{name: "template/tx.tmpl", size: 3186, mode: os.FileMode(420), modTime: time.Unix(1566224088, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -890,7 +879,7 @@ func templateWhereTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/where.tmpl", size: 4903, mode: os.FileMode(420), modTime: time.Unix(1566480918, 0)} + info := bindataFileInfo{name: "template/where.tmpl", size: 4903, mode: os.FileMode(420), modTime: time.Unix(1566475502, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/entc/integration/ent/card.go b/entc/integration/ent/card.go index 9ef3c3fe6..1408f1e87 100644 --- a/entc/integration/ent/card.go +++ b/entc/integration/ent/card.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/card/card.go b/entc/integration/ent/card/card.go index 38a1b7b64..ad9289b83 100644 --- a/entc/integration/ent/card/card.go +++ b/entc/integration/ent/card/card.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package card diff --git a/entc/integration/ent/card/where.go b/entc/integration/ent/card/where.go index 24613470d..143646d53 100644 --- a/entc/integration/ent/card/where.go +++ b/entc/integration/ent/card/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package card diff --git a/entc/integration/ent/card_create.go b/entc/integration/ent/card_create.go index 4a70a741e..05d6425ab 100644 --- a/entc/integration/ent/card_create.go +++ b/entc/integration/ent/card_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/card_delete.go b/entc/integration/ent/card_delete.go index 1ca747755..e50fbf882 100644 --- a/entc/integration/ent/card_delete.go +++ b/entc/integration/ent/card_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/card_query.go b/entc/integration/ent/card_query.go index 2ad744c45..be5674212 100644 --- a/entc/integration/ent/card_query.go +++ b/entc/integration/ent/card_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/card_update.go b/entc/integration/ent/card_update.go index 9b41cdf02..246bde9d2 100644 --- a/entc/integration/ent/card_update.go +++ b/entc/integration/ent/card_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/client.go b/entc/integration/ent/client.go index 6a1fc72b4..8cdff3f0c 100644 --- a/entc/integration/ent/client.go +++ b/entc/integration/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/comment.go b/entc/integration/ent/comment.go index 5b0ac5f2f..5de809b32 100644 --- a/entc/integration/ent/comment.go +++ b/entc/integration/ent/comment.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/comment/comment.go b/entc/integration/ent/comment/comment.go index f40540ec1..4e7cf618d 100644 --- a/entc/integration/ent/comment/comment.go +++ b/entc/integration/ent/comment/comment.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package comment diff --git a/entc/integration/ent/comment/where.go b/entc/integration/ent/comment/where.go index 548c5118c..483019146 100644 --- a/entc/integration/ent/comment/where.go +++ b/entc/integration/ent/comment/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package comment diff --git a/entc/integration/ent/comment_create.go b/entc/integration/ent/comment_create.go index cf7f457bc..d8a41038c 100644 --- a/entc/integration/ent/comment_create.go +++ b/entc/integration/ent/comment_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/comment_delete.go b/entc/integration/ent/comment_delete.go index 67ae865ed..10bfebd57 100644 --- a/entc/integration/ent/comment_delete.go +++ b/entc/integration/ent/comment_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/comment_query.go b/entc/integration/ent/comment_query.go index 80017a5ed..c28236f6a 100644 --- a/entc/integration/ent/comment_query.go +++ b/entc/integration/ent/comment_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/comment_update.go b/entc/integration/ent/comment_update.go index 28256a271..7a2ed0536 100644 --- a/entc/integration/ent/comment_update.go +++ b/entc/integration/ent/comment_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/config.go b/entc/integration/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/entc/integration/ent/config.go +++ b/entc/integration/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/context.go b/entc/integration/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/entc/integration/ent/context.go +++ b/entc/integration/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/ent.go b/entc/integration/ent/ent.go index ef4fb07e4..f5f1d1595 100644 --- a/entc/integration/ent/ent.go +++ b/entc/integration/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/example_test.go b/entc/integration/ent/example_test.go index 919047aa0..c522e8e21 100644 --- a/entc/integration/ent/example_test.go +++ b/entc/integration/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/fieldtype.go b/entc/integration/ent/fieldtype.go index 239b98817..843a3e073 100644 --- a/entc/integration/ent/fieldtype.go +++ b/entc/integration/ent/fieldtype.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/fieldtype/fieldtype.go b/entc/integration/ent/fieldtype/fieldtype.go index cdf3d2a27..32550db2d 100644 --- a/entc/integration/ent/fieldtype/fieldtype.go +++ b/entc/integration/ent/fieldtype/fieldtype.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package fieldtype diff --git a/entc/integration/ent/fieldtype/where.go b/entc/integration/ent/fieldtype/where.go index c1eb57577..14d750a22 100644 --- a/entc/integration/ent/fieldtype/where.go +++ b/entc/integration/ent/fieldtype/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package fieldtype diff --git a/entc/integration/ent/fieldtype_create.go b/entc/integration/ent/fieldtype_create.go index 9d0858d7c..c02b147eb 100644 --- a/entc/integration/ent/fieldtype_create.go +++ b/entc/integration/ent/fieldtype_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/fieldtype_delete.go b/entc/integration/ent/fieldtype_delete.go index 945b8c1dc..b6a7aee47 100644 --- a/entc/integration/ent/fieldtype_delete.go +++ b/entc/integration/ent/fieldtype_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/fieldtype_query.go b/entc/integration/ent/fieldtype_query.go index 36eab345d..ac1d268b1 100644 --- a/entc/integration/ent/fieldtype_query.go +++ b/entc/integration/ent/fieldtype_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/fieldtype_update.go b/entc/integration/ent/fieldtype_update.go index 91efbbb67..47eee69e7 100644 --- a/entc/integration/ent/fieldtype_update.go +++ b/entc/integration/ent/fieldtype_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/file.go b/entc/integration/ent/file.go index 88b38707f..208444b9f 100644 --- a/entc/integration/ent/file.go +++ b/entc/integration/ent/file.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/file/file.go b/entc/integration/ent/file/file.go index 0196885b9..ae1032725 100644 --- a/entc/integration/ent/file/file.go +++ b/entc/integration/ent/file/file.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package file diff --git a/entc/integration/ent/file/where.go b/entc/integration/ent/file/where.go index 85e4bc249..ddd626338 100644 --- a/entc/integration/ent/file/where.go +++ b/entc/integration/ent/file/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package file diff --git a/entc/integration/ent/file_create.go b/entc/integration/ent/file_create.go index c76302388..8736b61db 100644 --- a/entc/integration/ent/file_create.go +++ b/entc/integration/ent/file_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/file_delete.go b/entc/integration/ent/file_delete.go index c93caf686..c76cba087 100644 --- a/entc/integration/ent/file_delete.go +++ b/entc/integration/ent/file_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/file_query.go b/entc/integration/ent/file_query.go index 2ad9c61c0..c2c914305 100644 --- a/entc/integration/ent/file_query.go +++ b/entc/integration/ent/file_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/file_update.go b/entc/integration/ent/file_update.go index a20c003a5..d79eb8718 100644 --- a/entc/integration/ent/file_update.go +++ b/entc/integration/ent/file_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/filetype.go b/entc/integration/ent/filetype.go index ab8ba21d3..0246da2c3 100644 --- a/entc/integration/ent/filetype.go +++ b/entc/integration/ent/filetype.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/filetype/filetype.go b/entc/integration/ent/filetype/filetype.go index 26ee01689..f0e1d41fb 100644 --- a/entc/integration/ent/filetype/filetype.go +++ b/entc/integration/ent/filetype/filetype.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package filetype diff --git a/entc/integration/ent/filetype/where.go b/entc/integration/ent/filetype/where.go index 7034f6f1c..d84924df7 100644 --- a/entc/integration/ent/filetype/where.go +++ b/entc/integration/ent/filetype/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package filetype diff --git a/entc/integration/ent/filetype_create.go b/entc/integration/ent/filetype_create.go index 4914ae10d..cc35063a0 100644 --- a/entc/integration/ent/filetype_create.go +++ b/entc/integration/ent/filetype_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/filetype_delete.go b/entc/integration/ent/filetype_delete.go index 84904c14b..b530f3f2f 100644 --- a/entc/integration/ent/filetype_delete.go +++ b/entc/integration/ent/filetype_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/filetype_query.go b/entc/integration/ent/filetype_query.go index 194d858a6..d53993ada 100644 --- a/entc/integration/ent/filetype_query.go +++ b/entc/integration/ent/filetype_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/filetype_update.go b/entc/integration/ent/filetype_update.go index aa2310bee..86dbe9e1f 100644 --- a/entc/integration/ent/filetype_update.go +++ b/entc/integration/ent/filetype_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/group.go b/entc/integration/ent/group.go index 35ccf9e5f..2d8944151 100644 --- a/entc/integration/ent/group.go +++ b/entc/integration/ent/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/group/group.go b/entc/integration/ent/group/group.go index 9003e7615..52a8c9896 100644 --- a/entc/integration/ent/group/group.go +++ b/entc/integration/ent/group/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/entc/integration/ent/group/where.go b/entc/integration/ent/group/where.go index 29cc1727b..51f24e4f4 100644 --- a/entc/integration/ent/group/where.go +++ b/entc/integration/ent/group/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/entc/integration/ent/group_create.go b/entc/integration/ent/group_create.go index 4f9115952..0e94aa037 100644 --- a/entc/integration/ent/group_create.go +++ b/entc/integration/ent/group_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/group_delete.go b/entc/integration/ent/group_delete.go index 74bac41e9..f5c882986 100644 --- a/entc/integration/ent/group_delete.go +++ b/entc/integration/ent/group_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/group_query.go b/entc/integration/ent/group_query.go index aa1da031c..9a35aafba 100644 --- a/entc/integration/ent/group_query.go +++ b/entc/integration/ent/group_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/group_update.go b/entc/integration/ent/group_update.go index b937066f7..af388bde2 100644 --- a/entc/integration/ent/group_update.go +++ b/entc/integration/ent/group_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/groupinfo.go b/entc/integration/ent/groupinfo.go index cc3a912ff..5e61f9af2 100644 --- a/entc/integration/ent/groupinfo.go +++ b/entc/integration/ent/groupinfo.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/groupinfo/groupinfo.go b/entc/integration/ent/groupinfo/groupinfo.go index 35c7e93e1..1920d62dc 100644 --- a/entc/integration/ent/groupinfo/groupinfo.go +++ b/entc/integration/ent/groupinfo/groupinfo.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package groupinfo diff --git a/entc/integration/ent/groupinfo/where.go b/entc/integration/ent/groupinfo/where.go index f945ecec6..187e3669d 100644 --- a/entc/integration/ent/groupinfo/where.go +++ b/entc/integration/ent/groupinfo/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package groupinfo diff --git a/entc/integration/ent/groupinfo_create.go b/entc/integration/ent/groupinfo_create.go index 690a268c1..a256cf041 100644 --- a/entc/integration/ent/groupinfo_create.go +++ b/entc/integration/ent/groupinfo_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/groupinfo_delete.go b/entc/integration/ent/groupinfo_delete.go index 2912d3efd..906760767 100644 --- a/entc/integration/ent/groupinfo_delete.go +++ b/entc/integration/ent/groupinfo_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/groupinfo_query.go b/entc/integration/ent/groupinfo_query.go index 25d10662f..15be28742 100644 --- a/entc/integration/ent/groupinfo_query.go +++ b/entc/integration/ent/groupinfo_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/groupinfo_update.go b/entc/integration/ent/groupinfo_update.go index f7fd464ee..19bd4518a 100644 --- a/entc/integration/ent/groupinfo_update.go +++ b/entc/integration/ent/groupinfo_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/migrate/migrate.go b/entc/integration/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/entc/integration/ent/migrate/migrate.go +++ b/entc/integration/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/entc/integration/ent/migrate/schema.go b/entc/integration/ent/migrate/schema.go index beb5e8db6..5a1630be0 100644 --- a/entc/integration/ent/migrate/schema.go +++ b/entc/integration/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/entc/integration/ent/node.go b/entc/integration/ent/node.go index 04a070a01..8843b44de 100644 --- a/entc/integration/ent/node.go +++ b/entc/integration/ent/node.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/node/node.go b/entc/integration/ent/node/node.go index 4901004a7..b5ea97e38 100644 --- a/entc/integration/ent/node/node.go +++ b/entc/integration/ent/node/node.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package node diff --git a/entc/integration/ent/node/where.go b/entc/integration/ent/node/where.go index 955b1f444..1ca237ad3 100644 --- a/entc/integration/ent/node/where.go +++ b/entc/integration/ent/node/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package node diff --git a/entc/integration/ent/node_create.go b/entc/integration/ent/node_create.go index 5989ff47f..8871c03a1 100644 --- a/entc/integration/ent/node_create.go +++ b/entc/integration/ent/node_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/node_delete.go b/entc/integration/ent/node_delete.go index ca5f6f21c..2ccfb455f 100644 --- a/entc/integration/ent/node_delete.go +++ b/entc/integration/ent/node_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/node_query.go b/entc/integration/ent/node_query.go index 1725f89a3..d86b1bd3e 100644 --- a/entc/integration/ent/node_query.go +++ b/entc/integration/ent/node_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/node_update.go b/entc/integration/ent/node_update.go index acc4fd731..f78c25d73 100644 --- a/entc/integration/ent/node_update.go +++ b/entc/integration/ent/node_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/pet.go b/entc/integration/ent/pet.go index da50b0838..3ff92aafc 100644 --- a/entc/integration/ent/pet.go +++ b/entc/integration/ent/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/pet/pet.go b/entc/integration/ent/pet/pet.go index 527140f89..f84e4eccf 100644 --- a/entc/integration/ent/pet/pet.go +++ b/entc/integration/ent/pet/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/entc/integration/ent/pet/where.go b/entc/integration/ent/pet/where.go index e6fdf971b..088fc3454 100644 --- a/entc/integration/ent/pet/where.go +++ b/entc/integration/ent/pet/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/entc/integration/ent/pet_create.go b/entc/integration/ent/pet_create.go index 38cb0802c..cef287da5 100644 --- a/entc/integration/ent/pet_create.go +++ b/entc/integration/ent/pet_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/pet_delete.go b/entc/integration/ent/pet_delete.go index 313a6338f..e9264c7bc 100644 --- a/entc/integration/ent/pet_delete.go +++ b/entc/integration/ent/pet_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/pet_query.go b/entc/integration/ent/pet_query.go index 02a48e767..4f2ca0a56 100644 --- a/entc/integration/ent/pet_query.go +++ b/entc/integration/ent/pet_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/pet_update.go b/entc/integration/ent/pet_update.go index 0a3f6f109..c4480220f 100644 --- a/entc/integration/ent/pet_update.go +++ b/entc/integration/ent/pet_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/predicate/predicate.go b/entc/integration/ent/predicate/predicate.go index d5ece13ac..299732731 100644 --- a/entc/integration/ent/predicate/predicate.go +++ b/entc/integration/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/entc/integration/ent/tx.go b/entc/integration/ent/tx.go index e7c3c8463..231f27631 100644 --- a/entc/integration/ent/tx.go +++ b/entc/integration/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/user.go b/entc/integration/ent/user.go index 404839156..1fbf2a210 100644 --- a/entc/integration/ent/user.go +++ b/entc/integration/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/user/user.go b/entc/integration/ent/user/user.go index cdc5fd618..bbdd23bfe 100644 --- a/entc/integration/ent/user/user.go +++ b/entc/integration/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/entc/integration/ent/user/where.go b/entc/integration/ent/user/where.go index 771c48ad3..2ed7ee51b 100644 --- a/entc/integration/ent/user/where.go +++ b/entc/integration/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/entc/integration/ent/user_create.go b/entc/integration/ent/user_create.go index 9c3b409c5..b91620e3e 100644 --- a/entc/integration/ent/user_create.go +++ b/entc/integration/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/user_delete.go b/entc/integration/ent/user_delete.go index 38c9dce41..58393eeaa 100644 --- a/entc/integration/ent/user_delete.go +++ b/entc/integration/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/user_query.go b/entc/integration/ent/user_query.go index 6745a5d0f..7ebc7dc3b 100644 --- a/entc/integration/ent/user_query.go +++ b/entc/integration/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/ent/user_update.go b/entc/integration/ent/user_update.go index c4dd1feba..7512f4a6d 100644 --- a/entc/integration/ent/user_update.go +++ b/entc/integration/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/entc/integration/generate.go b/entc/integration/generate.go index 067ddec8c..4a8d574ee 100644 --- a/entc/integration/generate.go +++ b/entc/integration/generate.go @@ -4,6 +4,6 @@ package integration -//go:generate go run ../cmd/entc/entc.go generate --storage=sql,gremlin --idtype string --header "Code generated (@generated) by entc, DO NOT EDIT." ./ent/schema -//go:generate go run ../cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./migrate/entv1/schema -//go:generate go run ../cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./migrate/entv2/schema +//go:generate go run ../cmd/entc/entc.go generate --storage=sql,gremlin --idtype string --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./ent/schema +//go:generate go run ../cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./migrate/entv1/schema +//go:generate go run ../cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./migrate/entv2/schema diff --git a/entc/integration/migrate/entv1/client.go b/entc/integration/migrate/entv1/client.go index 493c748e3..d5ea0c870 100644 --- a/entc/integration/migrate/entv1/client.go +++ b/entc/integration/migrate/entv1/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/config.go b/entc/integration/migrate/entv1/config.go index 57fd6ed01..f87b38ecc 100644 --- a/entc/integration/migrate/entv1/config.go +++ b/entc/integration/migrate/entv1/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/context.go b/entc/integration/migrate/entv1/context.go index af3a5acc2..c09a8ae80 100644 --- a/entc/integration/migrate/entv1/context.go +++ b/entc/integration/migrate/entv1/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/ent.go b/entc/integration/migrate/entv1/ent.go index fdd43c93c..76703fa5d 100644 --- a/entc/integration/migrate/entv1/ent.go +++ b/entc/integration/migrate/entv1/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/example_test.go b/entc/integration/migrate/entv1/example_test.go index 29cce6cc3..63fa13205 100644 --- a/entc/integration/migrate/entv1/example_test.go +++ b/entc/integration/migrate/entv1/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/migrate/migrate.go b/entc/integration/migrate/entv1/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/entc/integration/migrate/entv1/migrate/migrate.go +++ b/entc/integration/migrate/entv1/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/entc/integration/migrate/entv1/migrate/schema.go b/entc/integration/migrate/entv1/migrate/schema.go index 87e5d8f80..e1e0570e3 100644 --- a/entc/integration/migrate/entv1/migrate/schema.go +++ b/entc/integration/migrate/entv1/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/entc/integration/migrate/entv1/predicate/predicate.go b/entc/integration/migrate/entv1/predicate/predicate.go index 2bf74411f..1226d0823 100644 --- a/entc/integration/migrate/entv1/predicate/predicate.go +++ b/entc/integration/migrate/entv1/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/entc/integration/migrate/entv1/tx.go b/entc/integration/migrate/entv1/tx.go index fec18ea44..c34e2b8b6 100644 --- a/entc/integration/migrate/entv1/tx.go +++ b/entc/integration/migrate/entv1/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/user.go b/entc/integration/migrate/entv1/user.go index 0c5e81ef5..5a355b07e 100644 --- a/entc/integration/migrate/entv1/user.go +++ b/entc/integration/migrate/entv1/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/user/user.go b/entc/integration/migrate/entv1/user/user.go index 98750a071..6671de338 100644 --- a/entc/integration/migrate/entv1/user/user.go +++ b/entc/integration/migrate/entv1/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/entc/integration/migrate/entv1/user/where.go b/entc/integration/migrate/entv1/user/where.go index 719253a6c..e02521b6e 100644 --- a/entc/integration/migrate/entv1/user/where.go +++ b/entc/integration/migrate/entv1/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/entc/integration/migrate/entv1/user_create.go b/entc/integration/migrate/entv1/user_create.go index 62d1713ff..8848a1137 100644 --- a/entc/integration/migrate/entv1/user_create.go +++ b/entc/integration/migrate/entv1/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/user_delete.go b/entc/integration/migrate/entv1/user_delete.go index d55e61d07..fee7180e8 100644 --- a/entc/integration/migrate/entv1/user_delete.go +++ b/entc/integration/migrate/entv1/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/user_query.go b/entc/integration/migrate/entv1/user_query.go index dbb54fd68..059764f1b 100644 --- a/entc/integration/migrate/entv1/user_query.go +++ b/entc/integration/migrate/entv1/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv1/user_update.go b/entc/integration/migrate/entv1/user_update.go index 43137a596..a322d61ce 100644 --- a/entc/integration/migrate/entv1/user_update.go +++ b/entc/integration/migrate/entv1/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv1 diff --git a/entc/integration/migrate/entv2/client.go b/entc/integration/migrate/entv2/client.go index 237859d1a..768db5e21 100644 --- a/entc/integration/migrate/entv2/client.go +++ b/entc/integration/migrate/entv2/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/config.go b/entc/integration/migrate/entv2/config.go index 44f76b829..96613bb35 100644 --- a/entc/integration/migrate/entv2/config.go +++ b/entc/integration/migrate/entv2/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/context.go b/entc/integration/migrate/entv2/context.go index 1ba55f9f7..9040aa4bb 100644 --- a/entc/integration/migrate/entv2/context.go +++ b/entc/integration/migrate/entv2/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/ent.go b/entc/integration/migrate/entv2/ent.go index d93279f35..45d5d01f7 100644 --- a/entc/integration/migrate/entv2/ent.go +++ b/entc/integration/migrate/entv2/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/example_test.go b/entc/integration/migrate/entv2/example_test.go index 69bfe3537..fa94acd13 100644 --- a/entc/integration/migrate/entv2/example_test.go +++ b/entc/integration/migrate/entv2/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/group.go b/entc/integration/migrate/entv2/group.go index bcebbd5ec..bb8d17cb2 100644 --- a/entc/integration/migrate/entv2/group.go +++ b/entc/integration/migrate/entv2/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/group/group.go b/entc/integration/migrate/entv2/group/group.go index 613535975..fafd50d51 100644 --- a/entc/integration/migrate/entv2/group/group.go +++ b/entc/integration/migrate/entv2/group/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/entc/integration/migrate/entv2/group/where.go b/entc/integration/migrate/entv2/group/where.go index e12cfd574..8af86a869 100644 --- a/entc/integration/migrate/entv2/group/where.go +++ b/entc/integration/migrate/entv2/group/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/entc/integration/migrate/entv2/group_create.go b/entc/integration/migrate/entv2/group_create.go index bf35ae8ea..9feb4c40e 100644 --- a/entc/integration/migrate/entv2/group_create.go +++ b/entc/integration/migrate/entv2/group_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/group_delete.go b/entc/integration/migrate/entv2/group_delete.go index 5492b0a71..a5d095704 100644 --- a/entc/integration/migrate/entv2/group_delete.go +++ b/entc/integration/migrate/entv2/group_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/group_query.go b/entc/integration/migrate/entv2/group_query.go index 8714e1418..37ededd78 100644 --- a/entc/integration/migrate/entv2/group_query.go +++ b/entc/integration/migrate/entv2/group_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/group_update.go b/entc/integration/migrate/entv2/group_update.go index db4e7d187..09aeb0843 100644 --- a/entc/integration/migrate/entv2/group_update.go +++ b/entc/integration/migrate/entv2/group_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/migrate/migrate.go b/entc/integration/migrate/entv2/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/entc/integration/migrate/entv2/migrate/migrate.go +++ b/entc/integration/migrate/entv2/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/entc/integration/migrate/entv2/migrate/schema.go b/entc/integration/migrate/entv2/migrate/schema.go index ba85092c1..f9ba2ea81 100644 --- a/entc/integration/migrate/entv2/migrate/schema.go +++ b/entc/integration/migrate/entv2/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/entc/integration/migrate/entv2/pet.go b/entc/integration/migrate/entv2/pet.go index 51b4dc44c..8bd64ed16 100644 --- a/entc/integration/migrate/entv2/pet.go +++ b/entc/integration/migrate/entv2/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/pet/pet.go b/entc/integration/migrate/entv2/pet/pet.go index 9e9122f34..3575efda2 100644 --- a/entc/integration/migrate/entv2/pet/pet.go +++ b/entc/integration/migrate/entv2/pet/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/entc/integration/migrate/entv2/pet/where.go b/entc/integration/migrate/entv2/pet/where.go index 225dcae58..c3b06629d 100644 --- a/entc/integration/migrate/entv2/pet/where.go +++ b/entc/integration/migrate/entv2/pet/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/entc/integration/migrate/entv2/pet_create.go b/entc/integration/migrate/entv2/pet_create.go index ef496d2ab..a87387192 100644 --- a/entc/integration/migrate/entv2/pet_create.go +++ b/entc/integration/migrate/entv2/pet_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/pet_delete.go b/entc/integration/migrate/entv2/pet_delete.go index 9c02e80d5..b83741038 100644 --- a/entc/integration/migrate/entv2/pet_delete.go +++ b/entc/integration/migrate/entv2/pet_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/pet_query.go b/entc/integration/migrate/entv2/pet_query.go index a7b2f77d5..f7993c4c7 100644 --- a/entc/integration/migrate/entv2/pet_query.go +++ b/entc/integration/migrate/entv2/pet_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/pet_update.go b/entc/integration/migrate/entv2/pet_update.go index 7a70cf09e..7b8931316 100644 --- a/entc/integration/migrate/entv2/pet_update.go +++ b/entc/integration/migrate/entv2/pet_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/predicate/predicate.go b/entc/integration/migrate/entv2/predicate/predicate.go index 632b08842..a904498f5 100644 --- a/entc/integration/migrate/entv2/predicate/predicate.go +++ b/entc/integration/migrate/entv2/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/entc/integration/migrate/entv2/tx.go b/entc/integration/migrate/entv2/tx.go index 3c7df102f..b6b502c2b 100644 --- a/entc/integration/migrate/entv2/tx.go +++ b/entc/integration/migrate/entv2/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/user.go b/entc/integration/migrate/entv2/user.go index 5dfc1f711..2c2338190 100644 --- a/entc/integration/migrate/entv2/user.go +++ b/entc/integration/migrate/entv2/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/user/user.go b/entc/integration/migrate/entv2/user/user.go index 51e286f75..93f0eead3 100644 --- a/entc/integration/migrate/entv2/user/user.go +++ b/entc/integration/migrate/entv2/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/entc/integration/migrate/entv2/user/where.go b/entc/integration/migrate/entv2/user/where.go index 67ca2ed7b..cd63ebde0 100644 --- a/entc/integration/migrate/entv2/user/where.go +++ b/entc/integration/migrate/entv2/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/entc/integration/migrate/entv2/user_create.go b/entc/integration/migrate/entv2/user_create.go index f8b08fc5d..ba836d43c 100644 --- a/entc/integration/migrate/entv2/user_create.go +++ b/entc/integration/migrate/entv2/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/user_delete.go b/entc/integration/migrate/entv2/user_delete.go index 9a14e04c8..e58a8c3de 100644 --- a/entc/integration/migrate/entv2/user_delete.go +++ b/entc/integration/migrate/entv2/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/user_query.go b/entc/integration/migrate/entv2/user_query.go index cf51372d9..9db975f25 100644 --- a/entc/integration/migrate/entv2/user_query.go +++ b/entc/integration/migrate/entv2/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/integration/migrate/entv2/user_update.go b/entc/integration/migrate/entv2/user_update.go index 0c9ba57e9..15614834f 100644 --- a/entc/integration/migrate/entv2/user_update.go +++ b/entc/integration/migrate/entv2/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package entv2 diff --git a/entc/load/bindata.go b/entc/load/bindata.go index 65fd237d8..48d4db659 100644 --- a/entc/load/bindata.go +++ b/entc/load/bindata.go @@ -1,4 +1,4 @@ -// Package load Code generated by go-bindata. (@generated) DO NOT EDIT. +// Code generated by go-bindata. (@generated) DO NOT EDIT. // sources: // template/main.tmpl // schema.go @@ -48,32 +48,21 @@ type bindataFileInfo struct { modTime time.Time } -// Name return file name func (fi bindataFileInfo) Name() string { return fi.name } - -// Size return file size func (fi bindataFileInfo) Size() int64 { return fi.size } - -// Mode return file mode func (fi bindataFileInfo) Mode() os.FileMode { return fi.mode } - -// Mode return file modify time func (fi bindataFileInfo) ModTime() time.Time { return fi.modTime } - -// IsDir return file whether a directory func (fi bindataFileInfo) IsDir() bool { - return fi.mode&os.ModeDir != 0 + return false } - -// Sys return file is sys mode func (fi bindataFileInfo) Sys() interface{} { return nil } @@ -93,7 +82,7 @@ func templateMainTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/main.tmpl", size: 647, mode: os.FileMode(420), modTime: time.Unix(1566138012, 0)} + info := bindataFileInfo{name: "template/main.tmpl", size: 647, mode: os.FileMode(420), modTime: time.Unix(1566131522, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -113,7 +102,7 @@ func schemaGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "schema.go", size: 4766, mode: os.FileMode(420), modTime: time.Unix(1567076814, 0)} + info := bindataFileInfo{name: "schema.go", size: 4766, mode: os.FileMode(420), modTime: time.Unix(1567092449, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/examples/edgeindex/ent/city.go b/examples/edgeindex/ent/city.go index ca7047603..175482f30 100644 --- a/examples/edgeindex/ent/city.go +++ b/examples/edgeindex/ent/city.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/city/city.go b/examples/edgeindex/ent/city/city.go index 8b4439b1f..98975067a 100644 --- a/examples/edgeindex/ent/city/city.go +++ b/examples/edgeindex/ent/city/city.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package city diff --git a/examples/edgeindex/ent/city/where.go b/examples/edgeindex/ent/city/where.go index b419de107..f27f312de 100644 --- a/examples/edgeindex/ent/city/where.go +++ b/examples/edgeindex/ent/city/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package city diff --git a/examples/edgeindex/ent/city_create.go b/examples/edgeindex/ent/city_create.go index 646276a27..c7bf88018 100644 --- a/examples/edgeindex/ent/city_create.go +++ b/examples/edgeindex/ent/city_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/city_delete.go b/examples/edgeindex/ent/city_delete.go index b095259af..0ecc8bb5d 100644 --- a/examples/edgeindex/ent/city_delete.go +++ b/examples/edgeindex/ent/city_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/city_query.go b/examples/edgeindex/ent/city_query.go index 01cdcebae..de1fbb36b 100644 --- a/examples/edgeindex/ent/city_query.go +++ b/examples/edgeindex/ent/city_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/city_update.go b/examples/edgeindex/ent/city_update.go index f22b727a4..aee7ccbca 100644 --- a/examples/edgeindex/ent/city_update.go +++ b/examples/edgeindex/ent/city_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/client.go b/examples/edgeindex/ent/client.go index 5d6c22f97..75064ae2c 100644 --- a/examples/edgeindex/ent/client.go +++ b/examples/edgeindex/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/config.go b/examples/edgeindex/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/edgeindex/ent/config.go +++ b/examples/edgeindex/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/context.go b/examples/edgeindex/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/edgeindex/ent/context.go +++ b/examples/edgeindex/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/ent.go b/examples/edgeindex/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/edgeindex/ent/ent.go +++ b/examples/edgeindex/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/example_test.go b/examples/edgeindex/ent/example_test.go index 258d97f22..2abf698ec 100644 --- a/examples/edgeindex/ent/example_test.go +++ b/examples/edgeindex/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/generate.go b/examples/edgeindex/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/edgeindex/ent/generate.go +++ b/examples/edgeindex/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/edgeindex/ent/migrate/migrate.go b/examples/edgeindex/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/edgeindex/ent/migrate/migrate.go +++ b/examples/edgeindex/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/edgeindex/ent/migrate/schema.go b/examples/edgeindex/ent/migrate/schema.go index fcb524593..3f245d0ae 100644 --- a/examples/edgeindex/ent/migrate/schema.go +++ b/examples/edgeindex/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/edgeindex/ent/predicate/predicate.go b/examples/edgeindex/ent/predicate/predicate.go index d50430652..4da45fbdf 100644 --- a/examples/edgeindex/ent/predicate/predicate.go +++ b/examples/edgeindex/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/edgeindex/ent/street.go b/examples/edgeindex/ent/street.go index 5f3c96c44..990ac6810 100644 --- a/examples/edgeindex/ent/street.go +++ b/examples/edgeindex/ent/street.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/street/street.go b/examples/edgeindex/ent/street/street.go index deb1d4f1e..20c628deb 100644 --- a/examples/edgeindex/ent/street/street.go +++ b/examples/edgeindex/ent/street/street.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package street diff --git a/examples/edgeindex/ent/street/where.go b/examples/edgeindex/ent/street/where.go index d8e72307f..2e8c824d2 100644 --- a/examples/edgeindex/ent/street/where.go +++ b/examples/edgeindex/ent/street/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package street diff --git a/examples/edgeindex/ent/street_create.go b/examples/edgeindex/ent/street_create.go index e27a0d2aa..7bdc284d8 100644 --- a/examples/edgeindex/ent/street_create.go +++ b/examples/edgeindex/ent/street_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/street_delete.go b/examples/edgeindex/ent/street_delete.go index 1654c7bcc..330867cd0 100644 --- a/examples/edgeindex/ent/street_delete.go +++ b/examples/edgeindex/ent/street_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/street_query.go b/examples/edgeindex/ent/street_query.go index 0ff614bbc..6880a87d7 100644 --- a/examples/edgeindex/ent/street_query.go +++ b/examples/edgeindex/ent/street_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/street_update.go b/examples/edgeindex/ent/street_update.go index 3bbfddf22..2f0009829 100644 --- a/examples/edgeindex/ent/street_update.go +++ b/examples/edgeindex/ent/street_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/edgeindex/ent/tx.go b/examples/edgeindex/ent/tx.go index ea0cf8464..07b73dc0c 100644 --- a/examples/edgeindex/ent/tx.go +++ b/examples/edgeindex/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/client.go b/examples/m2m2types/ent/client.go index d8e3128ab..a09e534ce 100644 --- a/examples/m2m2types/ent/client.go +++ b/examples/m2m2types/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/config.go b/examples/m2m2types/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/m2m2types/ent/config.go +++ b/examples/m2m2types/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/context.go b/examples/m2m2types/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/m2m2types/ent/context.go +++ b/examples/m2m2types/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/ent.go b/examples/m2m2types/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/m2m2types/ent/ent.go +++ b/examples/m2m2types/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/example_test.go b/examples/m2m2types/ent/example_test.go index 5c2e35be6..aa034a05f 100644 --- a/examples/m2m2types/ent/example_test.go +++ b/examples/m2m2types/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/generate.go b/examples/m2m2types/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/m2m2types/ent/generate.go +++ b/examples/m2m2types/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/m2m2types/ent/group.go b/examples/m2m2types/ent/group.go index 0a26617a8..cac3d0224 100644 --- a/examples/m2m2types/ent/group.go +++ b/examples/m2m2types/ent/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/group/group.go b/examples/m2m2types/ent/group/group.go index 19a5f8ac9..a9fc0b7ff 100644 --- a/examples/m2m2types/ent/group/group.go +++ b/examples/m2m2types/ent/group/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/examples/m2m2types/ent/group/where.go b/examples/m2m2types/ent/group/where.go index 9cc3059af..d40fa8ef3 100644 --- a/examples/m2m2types/ent/group/where.go +++ b/examples/m2m2types/ent/group/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/examples/m2m2types/ent/group_create.go b/examples/m2m2types/ent/group_create.go index 70ac8495c..f6d7bb262 100644 --- a/examples/m2m2types/ent/group_create.go +++ b/examples/m2m2types/ent/group_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/group_delete.go b/examples/m2m2types/ent/group_delete.go index ba9776a1d..c65da58d8 100644 --- a/examples/m2m2types/ent/group_delete.go +++ b/examples/m2m2types/ent/group_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/group_query.go b/examples/m2m2types/ent/group_query.go index e432c4381..d95168bbe 100644 --- a/examples/m2m2types/ent/group_query.go +++ b/examples/m2m2types/ent/group_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/group_update.go b/examples/m2m2types/ent/group_update.go index 6e299688c..bd78e18db 100644 --- a/examples/m2m2types/ent/group_update.go +++ b/examples/m2m2types/ent/group_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/migrate/migrate.go b/examples/m2m2types/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/m2m2types/ent/migrate/migrate.go +++ b/examples/m2m2types/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/m2m2types/ent/migrate/schema.go b/examples/m2m2types/ent/migrate/schema.go index 53780213b..4b9f5451b 100644 --- a/examples/m2m2types/ent/migrate/schema.go +++ b/examples/m2m2types/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/m2m2types/ent/predicate/predicate.go b/examples/m2m2types/ent/predicate/predicate.go index 8590a6ae4..9b080b62d 100644 --- a/examples/m2m2types/ent/predicate/predicate.go +++ b/examples/m2m2types/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/m2m2types/ent/tx.go b/examples/m2m2types/ent/tx.go index 315cd48cb..42e26c39a 100644 --- a/examples/m2m2types/ent/tx.go +++ b/examples/m2m2types/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/user.go b/examples/m2m2types/ent/user.go index d7bd5e3e3..22ae6c9cb 100644 --- a/examples/m2m2types/ent/user.go +++ b/examples/m2m2types/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/user/user.go b/examples/m2m2types/ent/user/user.go index c1202ac1e..1002277aa 100644 --- a/examples/m2m2types/ent/user/user.go +++ b/examples/m2m2types/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/m2m2types/ent/user/where.go b/examples/m2m2types/ent/user/where.go index bcc44e15f..3d30e497c 100644 --- a/examples/m2m2types/ent/user/where.go +++ b/examples/m2m2types/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/m2m2types/ent/user_create.go b/examples/m2m2types/ent/user_create.go index 8632a34b1..ac1e8182a 100644 --- a/examples/m2m2types/ent/user_create.go +++ b/examples/m2m2types/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/user_delete.go b/examples/m2m2types/ent/user_delete.go index ea3f34563..da59f8288 100644 --- a/examples/m2m2types/ent/user_delete.go +++ b/examples/m2m2types/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/user_query.go b/examples/m2m2types/ent/user_query.go index 0c17628a0..eca36d0b0 100644 --- a/examples/m2m2types/ent/user_query.go +++ b/examples/m2m2types/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2m2types/ent/user_update.go b/examples/m2m2types/ent/user_update.go index b600b8b10..043fb06f2 100644 --- a/examples/m2m2types/ent/user_update.go +++ b/examples/m2m2types/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/client.go b/examples/m2mbidi/ent/client.go index 68397f5fc..2a2ae803a 100644 --- a/examples/m2mbidi/ent/client.go +++ b/examples/m2mbidi/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/config.go b/examples/m2mbidi/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/m2mbidi/ent/config.go +++ b/examples/m2mbidi/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/context.go b/examples/m2mbidi/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/m2mbidi/ent/context.go +++ b/examples/m2mbidi/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/ent.go b/examples/m2mbidi/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/m2mbidi/ent/ent.go +++ b/examples/m2mbidi/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/example_test.go b/examples/m2mbidi/ent/example_test.go index f6a511b2c..2ece5bf0e 100644 --- a/examples/m2mbidi/ent/example_test.go +++ b/examples/m2mbidi/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/generate.go b/examples/m2mbidi/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/m2mbidi/ent/generate.go +++ b/examples/m2mbidi/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/m2mbidi/ent/migrate/migrate.go b/examples/m2mbidi/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/m2mbidi/ent/migrate/migrate.go +++ b/examples/m2mbidi/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/m2mbidi/ent/migrate/schema.go b/examples/m2mbidi/ent/migrate/schema.go index d56c733fd..57a45f686 100644 --- a/examples/m2mbidi/ent/migrate/schema.go +++ b/examples/m2mbidi/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/m2mbidi/ent/predicate/predicate.go b/examples/m2mbidi/ent/predicate/predicate.go index 2bf74411f..1226d0823 100644 --- a/examples/m2mbidi/ent/predicate/predicate.go +++ b/examples/m2mbidi/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/m2mbidi/ent/tx.go b/examples/m2mbidi/ent/tx.go index a26ee6b1f..bcb6cfe01 100644 --- a/examples/m2mbidi/ent/tx.go +++ b/examples/m2mbidi/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/user.go b/examples/m2mbidi/ent/user.go index 9111d4c1f..769ce2399 100644 --- a/examples/m2mbidi/ent/user.go +++ b/examples/m2mbidi/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/user/user.go b/examples/m2mbidi/ent/user/user.go index c0606b470..8f1f94682 100644 --- a/examples/m2mbidi/ent/user/user.go +++ b/examples/m2mbidi/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/m2mbidi/ent/user/where.go b/examples/m2mbidi/ent/user/where.go index ff1a813f2..26d51ecdc 100644 --- a/examples/m2mbidi/ent/user/where.go +++ b/examples/m2mbidi/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/m2mbidi/ent/user_create.go b/examples/m2mbidi/ent/user_create.go index 6b0deca55..0d1b18a12 100644 --- a/examples/m2mbidi/ent/user_create.go +++ b/examples/m2mbidi/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/user_delete.go b/examples/m2mbidi/ent/user_delete.go index 4670d68ef..ca7d47185 100644 --- a/examples/m2mbidi/ent/user_delete.go +++ b/examples/m2mbidi/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/user_query.go b/examples/m2mbidi/ent/user_query.go index 79b35f523..6e6ea095c 100644 --- a/examples/m2mbidi/ent/user_query.go +++ b/examples/m2mbidi/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mbidi/ent/user_update.go b/examples/m2mbidi/ent/user_update.go index 32fd426a7..c7272f342 100644 --- a/examples/m2mbidi/ent/user_update.go +++ b/examples/m2mbidi/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/client.go b/examples/m2mrecur/ent/client.go index 1683b3168..cd82d4f6f 100644 --- a/examples/m2mrecur/ent/client.go +++ b/examples/m2mrecur/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/config.go b/examples/m2mrecur/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/m2mrecur/ent/config.go +++ b/examples/m2mrecur/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/context.go b/examples/m2mrecur/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/m2mrecur/ent/context.go +++ b/examples/m2mrecur/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/ent.go b/examples/m2mrecur/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/m2mrecur/ent/ent.go +++ b/examples/m2mrecur/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/example_test.go b/examples/m2mrecur/ent/example_test.go index 9c0eb53a1..e3d5b00d5 100644 --- a/examples/m2mrecur/ent/example_test.go +++ b/examples/m2mrecur/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/generate.go b/examples/m2mrecur/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/m2mrecur/ent/generate.go +++ b/examples/m2mrecur/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/m2mrecur/ent/migrate/migrate.go b/examples/m2mrecur/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/m2mrecur/ent/migrate/migrate.go +++ b/examples/m2mrecur/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/m2mrecur/ent/migrate/schema.go b/examples/m2mrecur/ent/migrate/schema.go index 65bd2bf15..2cac5ef7f 100644 --- a/examples/m2mrecur/ent/migrate/schema.go +++ b/examples/m2mrecur/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/m2mrecur/ent/predicate/predicate.go b/examples/m2mrecur/ent/predicate/predicate.go index 2bf74411f..1226d0823 100644 --- a/examples/m2mrecur/ent/predicate/predicate.go +++ b/examples/m2mrecur/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/m2mrecur/ent/tx.go b/examples/m2mrecur/ent/tx.go index fcc85ef68..49031cc2f 100644 --- a/examples/m2mrecur/ent/tx.go +++ b/examples/m2mrecur/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/user.go b/examples/m2mrecur/ent/user.go index bcecea43a..8e6964476 100644 --- a/examples/m2mrecur/ent/user.go +++ b/examples/m2mrecur/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/user/user.go b/examples/m2mrecur/ent/user/user.go index 6cdc640a9..001354f35 100644 --- a/examples/m2mrecur/ent/user/user.go +++ b/examples/m2mrecur/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/m2mrecur/ent/user/where.go b/examples/m2mrecur/ent/user/where.go index 51222d2af..c07ba40c3 100644 --- a/examples/m2mrecur/ent/user/where.go +++ b/examples/m2mrecur/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/m2mrecur/ent/user_create.go b/examples/m2mrecur/ent/user_create.go index f5ab9e74a..1522562a5 100644 --- a/examples/m2mrecur/ent/user_create.go +++ b/examples/m2mrecur/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/user_delete.go b/examples/m2mrecur/ent/user_delete.go index 424a0b978..80848bfd7 100644 --- a/examples/m2mrecur/ent/user_delete.go +++ b/examples/m2mrecur/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/user_query.go b/examples/m2mrecur/ent/user_query.go index a77b3c5a1..8e3a3de6f 100644 --- a/examples/m2mrecur/ent/user_query.go +++ b/examples/m2mrecur/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/m2mrecur/ent/user_update.go b/examples/m2mrecur/ent/user_update.go index e6f772ddf..fb6f87fad 100644 --- a/examples/m2mrecur/ent/user_update.go +++ b/examples/m2mrecur/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/client.go b/examples/o2m2types/ent/client.go index 17f98234c..6a249166e 100644 --- a/examples/o2m2types/ent/client.go +++ b/examples/o2m2types/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/config.go b/examples/o2m2types/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/o2m2types/ent/config.go +++ b/examples/o2m2types/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/context.go b/examples/o2m2types/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/o2m2types/ent/context.go +++ b/examples/o2m2types/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/ent.go b/examples/o2m2types/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/o2m2types/ent/ent.go +++ b/examples/o2m2types/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/example_test.go b/examples/o2m2types/ent/example_test.go index 892568c6f..32a2de23f 100644 --- a/examples/o2m2types/ent/example_test.go +++ b/examples/o2m2types/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/generate.go b/examples/o2m2types/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/o2m2types/ent/generate.go +++ b/examples/o2m2types/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/o2m2types/ent/migrate/migrate.go b/examples/o2m2types/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/o2m2types/ent/migrate/migrate.go +++ b/examples/o2m2types/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2m2types/ent/migrate/schema.go b/examples/o2m2types/ent/migrate/schema.go index 9cb41710c..9427a3b29 100644 --- a/examples/o2m2types/ent/migrate/schema.go +++ b/examples/o2m2types/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2m2types/ent/pet.go b/examples/o2m2types/ent/pet.go index 9a1e175b1..d74663ab9 100644 --- a/examples/o2m2types/ent/pet.go +++ b/examples/o2m2types/ent/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/pet/pet.go b/examples/o2m2types/ent/pet/pet.go index c01b92f64..669169f35 100644 --- a/examples/o2m2types/ent/pet/pet.go +++ b/examples/o2m2types/ent/pet/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/examples/o2m2types/ent/pet/where.go b/examples/o2m2types/ent/pet/where.go index 860270ee2..80e58d98e 100644 --- a/examples/o2m2types/ent/pet/where.go +++ b/examples/o2m2types/ent/pet/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/examples/o2m2types/ent/pet_create.go b/examples/o2m2types/ent/pet_create.go index 74163a728..cacfeba55 100644 --- a/examples/o2m2types/ent/pet_create.go +++ b/examples/o2m2types/ent/pet_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/pet_delete.go b/examples/o2m2types/ent/pet_delete.go index 42d61d4c9..125b64e7f 100644 --- a/examples/o2m2types/ent/pet_delete.go +++ b/examples/o2m2types/ent/pet_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/pet_query.go b/examples/o2m2types/ent/pet_query.go index ecde22556..b94aa96eb 100644 --- a/examples/o2m2types/ent/pet_query.go +++ b/examples/o2m2types/ent/pet_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/pet_update.go b/examples/o2m2types/ent/pet_update.go index f0a2a43bf..acb4ebde2 100644 --- a/examples/o2m2types/ent/pet_update.go +++ b/examples/o2m2types/ent/pet_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/predicate/predicate.go b/examples/o2m2types/ent/predicate/predicate.go index 528a925d4..313896ec1 100644 --- a/examples/o2m2types/ent/predicate/predicate.go +++ b/examples/o2m2types/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/o2m2types/ent/tx.go b/examples/o2m2types/ent/tx.go index 3c22cb59d..3598df0a0 100644 --- a/examples/o2m2types/ent/tx.go +++ b/examples/o2m2types/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/user.go b/examples/o2m2types/ent/user.go index a480cf607..77fee1b9e 100644 --- a/examples/o2m2types/ent/user.go +++ b/examples/o2m2types/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/user/user.go b/examples/o2m2types/ent/user/user.go index 9c5ce5b97..0f2368905 100644 --- a/examples/o2m2types/ent/user/user.go +++ b/examples/o2m2types/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/o2m2types/ent/user/where.go b/examples/o2m2types/ent/user/where.go index 1145100a6..75b0c0c64 100644 --- a/examples/o2m2types/ent/user/where.go +++ b/examples/o2m2types/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/o2m2types/ent/user_create.go b/examples/o2m2types/ent/user_create.go index c79f3a069..be29a928a 100644 --- a/examples/o2m2types/ent/user_create.go +++ b/examples/o2m2types/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/user_delete.go b/examples/o2m2types/ent/user_delete.go index 9574104db..89edaaf53 100644 --- a/examples/o2m2types/ent/user_delete.go +++ b/examples/o2m2types/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/user_query.go b/examples/o2m2types/ent/user_query.go index 288293ffe..9126fa606 100644 --- a/examples/o2m2types/ent/user_query.go +++ b/examples/o2m2types/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2m2types/ent/user_update.go b/examples/o2m2types/ent/user_update.go index 9f847f3f3..502191099 100644 --- a/examples/o2m2types/ent/user_update.go +++ b/examples/o2m2types/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/client.go b/examples/o2mrecur/ent/client.go index 0b104c958..78aa2237e 100644 --- a/examples/o2mrecur/ent/client.go +++ b/examples/o2mrecur/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/config.go b/examples/o2mrecur/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/o2mrecur/ent/config.go +++ b/examples/o2mrecur/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/context.go b/examples/o2mrecur/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/o2mrecur/ent/context.go +++ b/examples/o2mrecur/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/ent.go b/examples/o2mrecur/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/o2mrecur/ent/ent.go +++ b/examples/o2mrecur/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/example_test.go b/examples/o2mrecur/ent/example_test.go index 2cf874301..42d8b7599 100644 --- a/examples/o2mrecur/ent/example_test.go +++ b/examples/o2mrecur/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/generate.go b/examples/o2mrecur/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/o2mrecur/ent/generate.go +++ b/examples/o2mrecur/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/o2mrecur/ent/migrate/migrate.go b/examples/o2mrecur/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/o2mrecur/ent/migrate/migrate.go +++ b/examples/o2mrecur/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2mrecur/ent/migrate/schema.go b/examples/o2mrecur/ent/migrate/schema.go index 2222d7c64..f121145c0 100644 --- a/examples/o2mrecur/ent/migrate/schema.go +++ b/examples/o2mrecur/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2mrecur/ent/node.go b/examples/o2mrecur/ent/node.go index e56a08e22..1b8ff2c5e 100644 --- a/examples/o2mrecur/ent/node.go +++ b/examples/o2mrecur/ent/node.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/node/node.go b/examples/o2mrecur/ent/node/node.go index 0aaffffe5..12f818bd0 100644 --- a/examples/o2mrecur/ent/node/node.go +++ b/examples/o2mrecur/ent/node/node.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package node diff --git a/examples/o2mrecur/ent/node/where.go b/examples/o2mrecur/ent/node/where.go index 9ae649754..f15f2dd2d 100644 --- a/examples/o2mrecur/ent/node/where.go +++ b/examples/o2mrecur/ent/node/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package node diff --git a/examples/o2mrecur/ent/node_create.go b/examples/o2mrecur/ent/node_create.go index eae9310a9..690d1b02b 100644 --- a/examples/o2mrecur/ent/node_create.go +++ b/examples/o2mrecur/ent/node_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/node_delete.go b/examples/o2mrecur/ent/node_delete.go index 88d3deb26..968d614fa 100644 --- a/examples/o2mrecur/ent/node_delete.go +++ b/examples/o2mrecur/ent/node_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/node_query.go b/examples/o2mrecur/ent/node_query.go index edea8f286..42b48a036 100644 --- a/examples/o2mrecur/ent/node_query.go +++ b/examples/o2mrecur/ent/node_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/node_update.go b/examples/o2mrecur/ent/node_update.go index d1e6577f4..92d1fdce7 100644 --- a/examples/o2mrecur/ent/node_update.go +++ b/examples/o2mrecur/ent/node_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2mrecur/ent/predicate/predicate.go b/examples/o2mrecur/ent/predicate/predicate.go index ba1cc35e5..95e9c3893 100644 --- a/examples/o2mrecur/ent/predicate/predicate.go +++ b/examples/o2mrecur/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/o2mrecur/ent/tx.go b/examples/o2mrecur/ent/tx.go index 1d3102e7e..3f25b2971 100644 --- a/examples/o2mrecur/ent/tx.go +++ b/examples/o2mrecur/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/card.go b/examples/o2o2types/ent/card.go index 45aabb51f..591f9e664 100644 --- a/examples/o2o2types/ent/card.go +++ b/examples/o2o2types/ent/card.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/card/card.go b/examples/o2o2types/ent/card/card.go index 11ee78748..0ef672b61 100644 --- a/examples/o2o2types/ent/card/card.go +++ b/examples/o2o2types/ent/card/card.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package card diff --git a/examples/o2o2types/ent/card/where.go b/examples/o2o2types/ent/card/where.go index 5cf57b8dc..a1bf63b18 100644 --- a/examples/o2o2types/ent/card/where.go +++ b/examples/o2o2types/ent/card/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package card diff --git a/examples/o2o2types/ent/card_create.go b/examples/o2o2types/ent/card_create.go index 1990f4aef..fd20c322a 100644 --- a/examples/o2o2types/ent/card_create.go +++ b/examples/o2o2types/ent/card_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/card_delete.go b/examples/o2o2types/ent/card_delete.go index f720bc81b..2f5fa5ad9 100644 --- a/examples/o2o2types/ent/card_delete.go +++ b/examples/o2o2types/ent/card_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/card_query.go b/examples/o2o2types/ent/card_query.go index 434e7a15d..d2ad3f746 100644 --- a/examples/o2o2types/ent/card_query.go +++ b/examples/o2o2types/ent/card_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/card_update.go b/examples/o2o2types/ent/card_update.go index 6a39e0f6b..86654b0ab 100644 --- a/examples/o2o2types/ent/card_update.go +++ b/examples/o2o2types/ent/card_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/client.go b/examples/o2o2types/ent/client.go index c9e392801..5098a06fd 100644 --- a/examples/o2o2types/ent/client.go +++ b/examples/o2o2types/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/config.go b/examples/o2o2types/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/o2o2types/ent/config.go +++ b/examples/o2o2types/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/context.go b/examples/o2o2types/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/o2o2types/ent/context.go +++ b/examples/o2o2types/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/ent.go b/examples/o2o2types/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/o2o2types/ent/ent.go +++ b/examples/o2o2types/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/example_test.go b/examples/o2o2types/ent/example_test.go index 752db905e..24451d707 100644 --- a/examples/o2o2types/ent/example_test.go +++ b/examples/o2o2types/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/generate.go b/examples/o2o2types/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/o2o2types/ent/generate.go +++ b/examples/o2o2types/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/o2o2types/ent/migrate/migrate.go b/examples/o2o2types/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/o2o2types/ent/migrate/migrate.go +++ b/examples/o2o2types/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2o2types/ent/migrate/schema.go b/examples/o2o2types/ent/migrate/schema.go index 804b65729..f51f31271 100644 --- a/examples/o2o2types/ent/migrate/schema.go +++ b/examples/o2o2types/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2o2types/ent/predicate/predicate.go b/examples/o2o2types/ent/predicate/predicate.go index c9260f2ef..edf3e2243 100644 --- a/examples/o2o2types/ent/predicate/predicate.go +++ b/examples/o2o2types/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/o2o2types/ent/tx.go b/examples/o2o2types/ent/tx.go index b1464e8f7..9c4c56647 100644 --- a/examples/o2o2types/ent/tx.go +++ b/examples/o2o2types/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/user.go b/examples/o2o2types/ent/user.go index 236c0fc0e..329879983 100644 --- a/examples/o2o2types/ent/user.go +++ b/examples/o2o2types/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/user/user.go b/examples/o2o2types/ent/user/user.go index 7211a9f7a..6c290d6a2 100644 --- a/examples/o2o2types/ent/user/user.go +++ b/examples/o2o2types/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/o2o2types/ent/user/where.go b/examples/o2o2types/ent/user/where.go index 82b5c88c6..ae330205b 100644 --- a/examples/o2o2types/ent/user/where.go +++ b/examples/o2o2types/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/o2o2types/ent/user_create.go b/examples/o2o2types/ent/user_create.go index 48d4d0a6f..6b872ae37 100644 --- a/examples/o2o2types/ent/user_create.go +++ b/examples/o2o2types/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/user_delete.go b/examples/o2o2types/ent/user_delete.go index 8ee1c6733..990408ea8 100644 --- a/examples/o2o2types/ent/user_delete.go +++ b/examples/o2o2types/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/user_query.go b/examples/o2o2types/ent/user_query.go index 1ab354d8b..46b4826f4 100644 --- a/examples/o2o2types/ent/user_query.go +++ b/examples/o2o2types/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2o2types/ent/user_update.go b/examples/o2o2types/ent/user_update.go index 928167f7f..2e199e3a6 100644 --- a/examples/o2o2types/ent/user_update.go +++ b/examples/o2o2types/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/client.go b/examples/o2obidi/ent/client.go index a772dfb4a..95bcb1d89 100644 --- a/examples/o2obidi/ent/client.go +++ b/examples/o2obidi/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/config.go b/examples/o2obidi/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/o2obidi/ent/config.go +++ b/examples/o2obidi/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/context.go b/examples/o2obidi/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/o2obidi/ent/context.go +++ b/examples/o2obidi/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/ent.go b/examples/o2obidi/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/o2obidi/ent/ent.go +++ b/examples/o2obidi/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/example_test.go b/examples/o2obidi/ent/example_test.go index 7d7bac802..ac0f9c4c9 100644 --- a/examples/o2obidi/ent/example_test.go +++ b/examples/o2obidi/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/generate.go b/examples/o2obidi/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/o2obidi/ent/generate.go +++ b/examples/o2obidi/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/o2obidi/ent/migrate/migrate.go b/examples/o2obidi/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/o2obidi/ent/migrate/migrate.go +++ b/examples/o2obidi/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2obidi/ent/migrate/schema.go b/examples/o2obidi/ent/migrate/schema.go index b842bfbba..04f4d8b09 100644 --- a/examples/o2obidi/ent/migrate/schema.go +++ b/examples/o2obidi/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2obidi/ent/predicate/predicate.go b/examples/o2obidi/ent/predicate/predicate.go index 2bf74411f..1226d0823 100644 --- a/examples/o2obidi/ent/predicate/predicate.go +++ b/examples/o2obidi/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/o2obidi/ent/tx.go b/examples/o2obidi/ent/tx.go index 0bef1f9d9..5b439e229 100644 --- a/examples/o2obidi/ent/tx.go +++ b/examples/o2obidi/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/user.go b/examples/o2obidi/ent/user.go index 3e30096b9..2d95ffa4f 100644 --- a/examples/o2obidi/ent/user.go +++ b/examples/o2obidi/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/user/user.go b/examples/o2obidi/ent/user/user.go index 4d4b86987..424f0291f 100644 --- a/examples/o2obidi/ent/user/user.go +++ b/examples/o2obidi/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/o2obidi/ent/user/where.go b/examples/o2obidi/ent/user/where.go index 6231c6765..7da428622 100644 --- a/examples/o2obidi/ent/user/where.go +++ b/examples/o2obidi/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/o2obidi/ent/user_create.go b/examples/o2obidi/ent/user_create.go index 69d83b3f3..0dd73eb19 100644 --- a/examples/o2obidi/ent/user_create.go +++ b/examples/o2obidi/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/user_delete.go b/examples/o2obidi/ent/user_delete.go index be2d13702..eb48344d8 100644 --- a/examples/o2obidi/ent/user_delete.go +++ b/examples/o2obidi/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/user_query.go b/examples/o2obidi/ent/user_query.go index 757e9ed49..35826b77d 100644 --- a/examples/o2obidi/ent/user_query.go +++ b/examples/o2obidi/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2obidi/ent/user_update.go b/examples/o2obidi/ent/user_update.go index fa1d04fc8..c871a9577 100644 --- a/examples/o2obidi/ent/user_update.go +++ b/examples/o2obidi/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/client.go b/examples/o2orecur/ent/client.go index 2ac87016d..058394540 100644 --- a/examples/o2orecur/ent/client.go +++ b/examples/o2orecur/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/config.go b/examples/o2orecur/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/o2orecur/ent/config.go +++ b/examples/o2orecur/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/context.go b/examples/o2orecur/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/o2orecur/ent/context.go +++ b/examples/o2orecur/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/ent.go b/examples/o2orecur/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/o2orecur/ent/ent.go +++ b/examples/o2orecur/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/example_test.go b/examples/o2orecur/ent/example_test.go index 53592a070..d41077964 100644 --- a/examples/o2orecur/ent/example_test.go +++ b/examples/o2orecur/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/generate.go b/examples/o2orecur/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/o2orecur/ent/generate.go +++ b/examples/o2orecur/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/o2orecur/ent/migrate/migrate.go b/examples/o2orecur/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/o2orecur/ent/migrate/migrate.go +++ b/examples/o2orecur/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2orecur/ent/migrate/schema.go b/examples/o2orecur/ent/migrate/schema.go index aa68b2f49..d468e4c24 100644 --- a/examples/o2orecur/ent/migrate/schema.go +++ b/examples/o2orecur/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/o2orecur/ent/node.go b/examples/o2orecur/ent/node.go index 5c6080e42..e5b60cab9 100644 --- a/examples/o2orecur/ent/node.go +++ b/examples/o2orecur/ent/node.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/node/node.go b/examples/o2orecur/ent/node/node.go index dd3c9dcbe..dbde31aac 100644 --- a/examples/o2orecur/ent/node/node.go +++ b/examples/o2orecur/ent/node/node.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package node diff --git a/examples/o2orecur/ent/node/where.go b/examples/o2orecur/ent/node/where.go index 331d17585..b41f64699 100644 --- a/examples/o2orecur/ent/node/where.go +++ b/examples/o2orecur/ent/node/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package node diff --git a/examples/o2orecur/ent/node_create.go b/examples/o2orecur/ent/node_create.go index f30263ec9..8ba13ea48 100644 --- a/examples/o2orecur/ent/node_create.go +++ b/examples/o2orecur/ent/node_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/node_delete.go b/examples/o2orecur/ent/node_delete.go index ccdb9f8a5..4c2f74d76 100644 --- a/examples/o2orecur/ent/node_delete.go +++ b/examples/o2orecur/ent/node_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/node_query.go b/examples/o2orecur/ent/node_query.go index ff5ffdb05..f9ecbff1d 100644 --- a/examples/o2orecur/ent/node_query.go +++ b/examples/o2orecur/ent/node_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/node_update.go b/examples/o2orecur/ent/node_update.go index 6f797d62e..bde3c3b69 100644 --- a/examples/o2orecur/ent/node_update.go +++ b/examples/o2orecur/ent/node_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/o2orecur/ent/predicate/predicate.go b/examples/o2orecur/ent/predicate/predicate.go index ba1cc35e5..95e9c3893 100644 --- a/examples/o2orecur/ent/predicate/predicate.go +++ b/examples/o2orecur/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/o2orecur/ent/tx.go b/examples/o2orecur/ent/tx.go index 314d9173d..f4fe4ed19 100644 --- a/examples/o2orecur/ent/tx.go +++ b/examples/o2orecur/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/client.go b/examples/traversal/ent/client.go index fb0870ed7..0014a8fdc 100644 --- a/examples/traversal/ent/client.go +++ b/examples/traversal/ent/client.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/config.go b/examples/traversal/ent/config.go index 2200a84b2..1a5d585d1 100644 --- a/examples/traversal/ent/config.go +++ b/examples/traversal/ent/config.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/context.go b/examples/traversal/ent/context.go index 7f97cb6a6..c6a16805e 100644 --- a/examples/traversal/ent/context.go +++ b/examples/traversal/ent/context.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/ent.go b/examples/traversal/ent/ent.go index 9da464624..bb27d36a4 100644 --- a/examples/traversal/ent/ent.go +++ b/examples/traversal/ent/ent.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/example_test.go b/examples/traversal/ent/example_test.go index b5254f5bb..56c85af10 100644 --- a/examples/traversal/ent/example_test.go +++ b/examples/traversal/ent/example_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/generate.go b/examples/traversal/ent/generate.go index b38816c3a..7b45d2695 100644 --- a/examples/traversal/ent/generate.go +++ b/examples/traversal/ent/generate.go @@ -4,4 +4,4 @@ package ent -//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Code generated (@generated) by entc, DO NOT EDIT." ./schema +//go:generate go run ../../../entc/cmd/entc/entc.go generate --header "Copyright (c) Facebook, Inc. and its affiliates. 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 (@generated) by entc, DO NOT EDIT." ./schema diff --git a/examples/traversal/ent/group.go b/examples/traversal/ent/group.go index 5df219fa2..f6394ba02 100644 --- a/examples/traversal/ent/group.go +++ b/examples/traversal/ent/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/group/group.go b/examples/traversal/ent/group/group.go index a0012afc6..71e84288b 100644 --- a/examples/traversal/ent/group/group.go +++ b/examples/traversal/ent/group/group.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/examples/traversal/ent/group/where.go b/examples/traversal/ent/group/where.go index 0e403a39d..a1c826340 100644 --- a/examples/traversal/ent/group/where.go +++ b/examples/traversal/ent/group/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package group diff --git a/examples/traversal/ent/group_create.go b/examples/traversal/ent/group_create.go index 665587e21..82c125a1f 100644 --- a/examples/traversal/ent/group_create.go +++ b/examples/traversal/ent/group_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/group_delete.go b/examples/traversal/ent/group_delete.go index a30222590..4cd9c402a 100644 --- a/examples/traversal/ent/group_delete.go +++ b/examples/traversal/ent/group_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/group_query.go b/examples/traversal/ent/group_query.go index 6bb55caa9..f5365cc47 100644 --- a/examples/traversal/ent/group_query.go +++ b/examples/traversal/ent/group_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/group_update.go b/examples/traversal/ent/group_update.go index 499afd456..293519ac7 100644 --- a/examples/traversal/ent/group_update.go +++ b/examples/traversal/ent/group_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/migrate/migrate.go b/examples/traversal/ent/migrate/migrate.go index 58765ba6f..9099e73cb 100644 --- a/examples/traversal/ent/migrate/migrate.go +++ b/examples/traversal/ent/migrate/migrate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/traversal/ent/migrate/schema.go b/examples/traversal/ent/migrate/schema.go index 4ac2cbdb3..d19ed745b 100644 --- a/examples/traversal/ent/migrate/schema.go +++ b/examples/traversal/ent/migrate/schema.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package migrate diff --git a/examples/traversal/ent/pet.go b/examples/traversal/ent/pet.go index aceb771b0..a5527696d 100644 --- a/examples/traversal/ent/pet.go +++ b/examples/traversal/ent/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/pet/pet.go b/examples/traversal/ent/pet/pet.go index fdfc9456e..601db95e0 100644 --- a/examples/traversal/ent/pet/pet.go +++ b/examples/traversal/ent/pet/pet.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/examples/traversal/ent/pet/where.go b/examples/traversal/ent/pet/where.go index 46a76e921..be4889d48 100644 --- a/examples/traversal/ent/pet/where.go +++ b/examples/traversal/ent/pet/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package pet diff --git a/examples/traversal/ent/pet_create.go b/examples/traversal/ent/pet_create.go index a4d629022..a228e0ac0 100644 --- a/examples/traversal/ent/pet_create.go +++ b/examples/traversal/ent/pet_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/pet_delete.go b/examples/traversal/ent/pet_delete.go index 37c5f3eb4..fee20fddf 100644 --- a/examples/traversal/ent/pet_delete.go +++ b/examples/traversal/ent/pet_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/pet_query.go b/examples/traversal/ent/pet_query.go index c9eed9dc0..67d108a30 100644 --- a/examples/traversal/ent/pet_query.go +++ b/examples/traversal/ent/pet_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/pet_update.go b/examples/traversal/ent/pet_update.go index d0d62e82a..9ebaeba69 100644 --- a/examples/traversal/ent/pet_update.go +++ b/examples/traversal/ent/pet_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/predicate/predicate.go b/examples/traversal/ent/predicate/predicate.go index 632b08842..a904498f5 100644 --- a/examples/traversal/ent/predicate/predicate.go +++ b/examples/traversal/ent/predicate/predicate.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package predicate diff --git a/examples/traversal/ent/tx.go b/examples/traversal/ent/tx.go index 790472a44..92d8453b3 100644 --- a/examples/traversal/ent/tx.go +++ b/examples/traversal/ent/tx.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/user.go b/examples/traversal/ent/user.go index cd0513bdb..3c9868b98 100644 --- a/examples/traversal/ent/user.go +++ b/examples/traversal/ent/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/user/user.go b/examples/traversal/ent/user/user.go index 1ccd40197..6a9f1bcc9 100644 --- a/examples/traversal/ent/user/user.go +++ b/examples/traversal/ent/user/user.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/traversal/ent/user/where.go b/examples/traversal/ent/user/where.go index 09b677cf0..6716e6768 100644 --- a/examples/traversal/ent/user/where.go +++ b/examples/traversal/ent/user/where.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package user diff --git a/examples/traversal/ent/user_create.go b/examples/traversal/ent/user_create.go index 927d45135..e639b64d6 100644 --- a/examples/traversal/ent/user_create.go +++ b/examples/traversal/ent/user_create.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/user_delete.go b/examples/traversal/ent/user_delete.go index 8250fa9f7..0c1b963ec 100644 --- a/examples/traversal/ent/user_delete.go +++ b/examples/traversal/ent/user_delete.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/user_query.go b/examples/traversal/ent/user_query.go index 3ed3f3d03..36f278849 100644 --- a/examples/traversal/ent/user_query.go +++ b/examples/traversal/ent/user_query.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent diff --git a/examples/traversal/ent/user_update.go b/examples/traversal/ent/user_update.go index 3d5463816..d1db7d3b9 100644 --- a/examples/traversal/ent/user_update.go +++ b/examples/traversal/ent/user_update.go @@ -1,3 +1,7 @@ +// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. +// This source code is licensed under the Apache 2.0 license found +// in the LICENSE file in the root directory of this source tree. + // Code generated (@generated) by entc, DO NOT EDIT. package ent