all: minor style changes

Reviewed By: noamsch

Differential Revision: D17763014

fbshipit-source-id: ba574059dcd93e7b02e22b6eac7c6a637bf5ba30
This commit is contained in:
Ariel Mashraki
2019-10-05 11:01:36 -07:00
committed by Facebook Github Bot
parent 5c93cb823c
commit fc3e7f0a70
2 changed files with 3 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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"
)