Replies: 1 comment
-
确实,我们这种追求统一风格的人特别纠结。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
GVA_MODEL
是没有json
struct tag
的,因此它被序列化成 json 的时候会有ID
字段camelCase
,所以不用GVA_MODEL
的 model 我写了Id uint `json:"id" gorm:"primaryKey"`
Id
的入参我看着接口返回来的
Id id ID
陷入了沉思…… 🤔Beta Was this translation helpful? Give feedback.
All reactions