Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 1,981 posts.

Any topic
2014
1606

Go, REST APIs, and Pointers

One of the more interesting design challenges with go-github (and subsequently the one that results in the most questions) is the use of pointers for most all of the fields in our structs that are marshaled and passed to the GitHub API. After a fair amount of trial and error, I settled on the approach that I’m going…