News for hackers. Stuff that matters.
Re:Show HN: Free, instant, secure, disposable chat rooms bui... by paulspringett on Tuesday April 14, 2015 @08:56AM (#9373813)
Really interesting to read through the source code and get an idea of how you're using Go to write APIs, thanks for sharing!
Re:Show HN: Free, instant, secure, disposable chat rooms bui... by knadh on Tuesday April 14, 2015 @11:20AM (#9374904)
Deciding on a pattern on writing http APIs in Go was a bit of chore. Ended up using the `pat` library for chaining middleware. Quite extensible and light weight. Also, using context to pass objects through the requests chain is a neat trick.