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:
Alex Snast
2019-09-25 06:46:03 -07:00
committed by Facebook Github Bot
parent 517d22843c
commit 6cf5b918c3
5 changed files with 46 additions and 46 deletions

View File

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