diff --git a/entc/gen/type.go b/entc/gen/type.go index b99211ebb..b3c02e150 100644 --- a/entc/gen/type.go +++ b/entc/gen/type.go @@ -97,8 +97,8 @@ type ( // type with the same name (symmetric relation). For example, a User // type have one of following edges: // - // edge.To("friends", User.Type) // many 2 many. - // edge.To("spouse", User.Type).Unique() // one 2 one. + // edge.To("friends", User.Type) // many 2 many. + // edge.To("spouse", User.Type).Unique() // one 2 one. // SelfRef bool } diff --git a/entc/load/schema.go b/entc/load/schema.go index a5d0f647c..50f02db5a 100644 --- a/entc/load/schema.go +++ b/entc/load/schema.go @@ -9,9 +9,8 @@ import ( "fmt" "reflect" - "github.com/facebookincubator/ent/schema/edge" - "github.com/facebookincubator/ent" + "github.com/facebookincubator/ent/schema/edge" "github.com/facebookincubator/ent/schema/field" )