All posts tagged in: programming

Prefer table driven tests

Written by

I’m a big fan of testing, specifically unit testing and TDD (done correctly, of course). A practice that has grown around Go projects is the idea ..

2 weeks ago
16
Comments Off on Prefer table driven tests
0 0

Using Go modules with Travis CI

Written by

In my previous post I converted httpstat to use Go 1.11’s upcoming module support. In this post I continue to explore integrating Go modules into ..

10 months ago
89
Comments Off on Using Go modules with Travis CI
0 0

Taking Go modules for a spin

Written by

Update: Since this post was written, Go 1.11beta2 has been released. I’ve updated the setup section to reflect this. Russ Cox kindly wrote to me to explain ..

10 months ago
85
Comments Off on Taking Go modules for a spin
0 0

Slices from the ground up

Written by

This blog post was inspired by a conversation with a co-worker about using a slice as a stack. The conversation turned into a wider discussion on the way slices ..

10 months ago
67
Comments Off on Slices from the ground up
0 0

Containers versus Operating Systems

Written by

What does a distro provide? The most popular docker base container image is either busybox, or scratch. This is driven by a movement that is equal parts ..

1 year ago
68
Comments Off on Containers versus Operating Systems
0 0

Go’s hidden #pragmas

Written by

This is an article about compiler directives; or as they are commonly known, pragmas. It’s derived from a talk of a similar name that I gave last ..

1 year ago
54
Comments Off on Go’s hidden #pragmas
0 0