mirror of
https://github.com/ent/ent.git
synced 2026-04-28 13:40:56 +03:00
doc/md: fmt grpc methods (#2144)
This commit is contained in:
@@ -30,10 +30,7 @@ func (User) Annotations() []schema.Annotation {
|
||||
return []schema.Annotation{
|
||||
entproto.Message(),
|
||||
entproto.Service(
|
||||
entproto.Methods(
|
||||
entproto.MethodCreate |
|
||||
entproto.MethodGet
|
||||
),
|
||||
entproto.Methods(entproto.MethodCreate | entproto.MethodGet),
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user