mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
ent/entc: keep struct tags sorted
Summary: keeping tags sorted will prevent codegen changes due to random map key ordering Reviewed By: a8m Differential Revision: D17571598 fbshipit-source-id: 12afc4aa0d030aa178e6568eb7c768ccc159f726
This commit is contained in:
committed by
Facebook Github Bot
parent
517d22843c
commit
6cf5b918c3
@@ -17,7 +17,7 @@ import (
|
||||
|
||||
// User is the model entity for the User schema.
|
||||
type User struct {
|
||||
config `json:"-" graphql:"-"`
|
||||
config `graphql:"-" json:"-"`
|
||||
// ID of the ent.
|
||||
ID string `json:"id,omitempty"`
|
||||
// Age holds the value of the "age" field.
|
||||
|
||||
Reference in New Issue
Block a user