I would to change EntryDate format like yyyy-mm-dd formated on the struct,
type Value struct {
Id uint `json:”id”`
EntryDate time.time `json:”entry_date”`
ProductId int `json:"product_id"`
Value float64 `json:”value”`
}
By default the result like this
{
Id: 11,
EntryDate: "2017-11-23T00:00:00Z",
product_id: 1,
Value: 932.3
},
How to change EntryDate format like "yyyy-mm-dd" on the struct without parsing on the code ?