mirror of
https://github.com/ent/ent.git
synced 2026-04-28 21:50:56 +03:00
go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user