go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)

This commit is contained in:
Ariel Mashraki
2021-02-02 23:03:04 +02:00
committed by GitHub
parent 7a2173f20d
commit dd4792f5b3
1087 changed files with 3956 additions and 3956 deletions

View File

@@ -13,7 +13,7 @@ Feature flags can be provided either by CLI flags or as arguments to the `gen` p
#### CLI
```console
go run github.com/facebook/ent/cmd/ent generate --feature privacy,entql ./ent/schema
go run entgo.io/ent/cmd/ent generate --feature privacy,entql ./ent/schema
```
#### Go
@@ -27,8 +27,8 @@ import (
"log"
"text/template"
"github.com/facebook/ent/entc"
"github.com/facebook/ent/entc/gen"
"entgo.io/ent/entc"
"entgo.io/ent/entc/gen"
)
func main() {
@@ -71,7 +71,7 @@ The `schema/snapshot` option tells `entc` (ent codegen) to store a snapshot of t
and use it to automatically solve merge conflicts when user's schema can't be built.
This option can be added to projects using the `--feature schema/snapshot` flag, but please see
[facebook/ent/issues/852](https://github.com/facebook/ent/issues/852) to get more context about it.
[facebook/ent/issues/852](https://entgo.io/ent/issues/852) to get more context about it.
#### Schema Config