Closed proidiot closed 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.
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.