Partway there: https://github.com/Clever/baseworker-go/commit/c4999dbf0065ef18bce25869eb0d06b8ed8dad42