are gin
and gorm
. Now the front-end request interface is uploaded and is a timestamp. What should be done to automatically convert the received timestamp to time.Time
. What comes from the front end is an json data. Parsing is a problem when using ShouldBindJSON
.