Sam VilainGo’s ‘context’ library — more patterns and anti-patternsThere are a number of things you can do wrong with go’s context.Dec 2, 2016Dec 2, 2016
Sam VilainUsing Go’s ‘context’ library in panic handlersSo far in this series, I’ve looked at how to use context for two cross-cutting concerns: logging and performance monitoring. The third is…Dec 2, 2016Dec 2, 2016
Sam VilainUsing Go’s ‘context’ library for performance monitoringJust about any server application with users is an application with impatient users. You need to keep on top of performance of your…Dec 2, 2016Dec 2, 2016
Sam VilainUsing Go’s ‘context’ library for loggingThere’s many ways to make sure that a service is operating correctly under the hood. Let’s talk about one standard approach — logging - and…Dec 2, 20163Dec 2, 20163
Sam VilainGo’s ‘context’ library: an introductionOne of the shiny new toys in go 1.7 is the ‘context’ library. Not shiny as in it is genuinely new (I still tend to import it from…Dec 1, 2016Dec 1, 2016
Sam VilainThe Gopiphany, 1 year laterIt’s been about a year since my “gopiphany” post where I described how I’d fallen in love with go.Dec 1, 2016Dec 1, 2016
Sam VilainThe GopiphanyI’m happy to say that the last 3 months I’ve been working a gig where I get to use go full time as a primary language. More interesting to…Mar 9, 2016Mar 9, 2016
Sam VilaininParsable BlogHow (and Why) To Write an Awesome Commit Message (or PR)Writing a good commit message is a great way to capture the logic that’s going into your work as you work. Sometimes this might seem like…Mar 2, 20161Mar 2, 20161