2 ms·
Really interesting to read through the source code and get an idea of how you're using Go to write APIs, thanks for sharing!
by paulspringett 11y ago
Really interesting to read through the source code and get an idea of how you're using Go to write APIs, thanks for sharing!
- knadh 11y agoDeciding 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.