loading...

re: What is the io.Reader in Go? VIEW POST

FULL DISCUSSION
 

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.

code of conduct - report abuse