Skip to content

Instantly share code, notes, and snippets.

@StabbyCutyou
Created November 15, 2016 15:04
Show Gist options
  • Save StabbyCutyou/5e08c5eb0f8c8a5b4633fb0a70cf9dba to your computer and use it in GitHub Desktop.
Save StabbyCutyou/5e08c5eb0f8c8a5b4633fb0a70cf9dba to your computer and use it in GitHub Desktop.
package main
import "errors"
func main() {
_ = errors.New("puncs, no caps.") // lint catches it
_ = errors.New("Caps, puncs.") // lint catches it
_ = errors.New("Caps, no puncs") // lint doesn't catch it
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment