Noob here: is there a better way to iterate over fields of a struct?

前端 未结 0 1999
醉酒成梦
醉酒成梦 2021-01-05 08:00

I have these two structs that I\'m populating from a JSON file:

type transaction struct {
    Datetime time.Time       `json:"datetime"`
    Desc            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题