mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
all: minor style changes
Reviewed By: noamsch Differential Revision: D17763014 fbshipit-source-id: ba574059dcd93e7b02e22b6eac7c6a637bf5ba30
This commit is contained in:
committed by
Facebook Github Bot
parent
5c93cb823c
commit
fc3e7f0a70
@@ -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
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user