Re:Thoughts on Go after writing 3 websites
by realrocker on Monday December 31, 2012 @07:41PM
(#4991476)
Nice, I was about to write one tomorrow.
[ Parent
| on HN ]
Re:Thoughts on Go after writing 3 websites
by chimeracoder on Monday December 31, 2012 @07:53PM
(#4991506)
If you're interested, there's still some low-hanging fruit left, namely in two edge cases:
1. It assumes all slices to be of type []interface{} by default, though oftentimes a more precise type is possible. (This is just a matter of looping through and determining the most specific type)
2. It only accepts valid JSON. Not a bug, but for example, the sample responses on the foursquare API documentation omit the (required) quotation marks around identifiers: https://developer.foursquare.com/docs/venues/venues (click "Try it Out"). That's a common problem which I'd like to fix eventually.