Thank you! One point, JSON struct tags are not required, if we don't specify the tags GO will create JSON field names which are same as the struct field names. In the example, JSON field names and struct field names are the same, we can vomit the struct tags.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you! One point, JSON struct tags are not required, if we don't specify the tags GO will create JSON field names which are same as the struct field names. In the example, JSON field names and struct field names are the same, we can vomit the struct tags.