golang struct tag
163 ワード
How the xorm tag use both with json?
Use space.
type User struct {
}
Use space.
type User struct {
Name string `json:"name" xorm:"name"`
}
Name string `json:"name" xorm:"name"`