guide
https://github.com/uber-go/guide
Makefile
The Uber Go Style Guide.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Makefile not yet supported0 Subscribers
Add a CodeTriage badge to guide
Help out
- Issues
- style.md#errors - Nesting can be removed in example of Error Types section
- Error Handling Approaches Discussion
- Add advice on formatting strings using `%q`
- Proposal: prefer `%q` to format strings over `%s`
- proposal: Avoid calling methods on map value, e.g. m[key].Method()
- Add recommendation on using table tests for single case tests.
- Proposal: Note that VS Code and GoLand have provided “inlay hints” that can avoid naked parameters
- Uber Go style should clarify ordering for type declarations and methods in files with multiple types
- Proposal: Discourage taking an address of empty structs
- Proposal: Avoid blocking sends to a channel without timeout
- Docs
- Makefile not yet supported