From e045095ce29dc6b1eb8668f62b8e0af9553d5cc2 Mon Sep 17 00:00:00 2001 From: hantmac Date: Fri, 13 Dec 2019 11:32:56 +0800 Subject: [PATCH] fix comment error --- doc/md/schema-edges.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/md/schema-edges.md b/doc/md/schema-edges.md index 203beb089..06fb3a009 100755 --- a/doc/md/schema-edges.md +++ b/doc/md/schema-edges.md @@ -53,19 +53,19 @@ import ( "github.com/facebookincubator/ent/schema/edge" ) -// User schema. +// Pet holds the schema definition for the Pet entity. type Pet struct { ent.Schema } -// Fields of the user. +// Fields of the Pet. func (Pet) Fields() []ent.Field { return []ent.Field{ // ... } } -// Edges of the user. +// Edges of the Pet. func (Pet) Edges() []ent.Edge { return []ent.Edge{ edge.From("owner", User.Type).