From fc3e7f0a70bd78746b3682b2093c26fd01ade320 Mon Sep 17 00:00:00 2001 From: Ariel Mashraki Date: Sat, 5 Oct 2019 11:01:36 -0700 Subject: [PATCH] all: minor style changes Reviewed By: noamsch Differential Revision: D17763014 fbshipit-source-id: ba574059dcd93e7b02e22b6eac7c6a637bf5ba30 --- entc/gen/type.go | 4 ++-- entc/load/schema.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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" )