go中将struct转成json时,time.Time 类型输出值是 "2021-04-13T20:38:51.466566+08:00" ,如下例: package main import ( "encoding/json" "os" "time" ) type MyStruct struct { ID uint `json:"id"` N...

Vicw.com用户头像 - XanderCheung XanderCheung 8255 0 0