smarty / assertions

Fluent assertion-style functions used by goconvey and gunit. Can also be used in any test or application.
Other
100 stars 34 forks source link

Some linter fixes, if's without redundant else #19

Closed cristaloleg closed 7 years ago

mdwhatcott commented 7 years ago

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...