I\'m playing with Go and am stumped as to why json encode and decode don\'t work for me
I think i copied the examples almost verbatim, but the output says both marsh
Capitalize names of structure fields
type testStruct struct { clip string `json:"clip"` // Wrong. Lowercase - other packages can't access it }
Change to:
type testStruct struct { Clip string `json:"clip"` }