is there a way to set field tag of a struct ? for example :
type contact struct {
Mail string `json:"contact"`
}
newStruct := setTag(temp, "Mail", "mail")
data, _ := json.Marshaller(qwe)
fmt.Println(data)
and it accepts this payload:
{
"mail": "blabla"
}