Thanks for getting involved and submitting this PR. Admittedly, SmartyStreets is a bit of a black sheep in the go community because we aren't huge fans of many aspects of the go linter (especially where naming conventions are concerned). In fact, this and self are our preferred receiver names and the if/else style you've observed is fine in our book.
I explain myself more fully in the links below, but beware, this stuff really doesn't sit well with most gophers...
Thanks for getting involved and submitting this PR. Admittedly, SmartyStreets is a bit of a black sheep in the go community because we aren't huge fans of many aspects of the go linter (especially where naming conventions are concerned). In fact,
this
andself
are our preferred receiver names and the if/else style you've observed is fine in our book.I explain myself more fully in the links below, but beware, this stuff really doesn't sit well with most gophers...