mirror of
https://github.com/ent/ent.git
synced 2026-04-29 22:20:54 +03:00
go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)
This commit is contained in:
@@ -18,10 +18,10 @@ Here's an example of a schema:
|
||||
package schema
|
||||
|
||||
import (
|
||||
"github.com/facebook/ent"
|
||||
"github.com/facebook/ent/schema/field"
|
||||
"github.com/facebook/ent/schema/edge"
|
||||
"github.com/facebook/ent/schema/index"
|
||||
"entgo.io/ent"
|
||||
"entgo.io/ent/schema/field"
|
||||
"entgo.io/ent/schema/edge"
|
||||
"entgo.io/ent/schema/index"
|
||||
)
|
||||
|
||||
type User struct {
|
||||
@@ -56,7 +56,7 @@ Entity schemas are usually stored inside `ent/schema` directory under
|
||||
the root directory of your project, and can be generated by `entc` as follows:
|
||||
|
||||
```console
|
||||
go run github.com/facebook/ent/cmd/ent init User Group
|
||||
go run entgo.io/ent/cmd/ent init User Group
|
||||
```
|
||||
|
||||
## It's Just Another ORM
|
||||
|
||||
Reference in New Issue
Block a user