stuphlabs / pullcord

A reverse proxy that allows scaling down a cloud service to zero servers without sacrificing (eventual) availability.
GNU Affero General Public License v3.0
4 stars 2 forks source link

Exported errors should be named ErrFoo #151

Closed proidiot closed 5 years ago

proidiot commented 5 years ago

golint is insisting that exported errors should have the form ErrFoo and not FooError or simply Foo. It noticed an exported error variable, but I'm not sure it would have noticed the hand-spun error constants, but that rule should apply to them too.