100-go-mistakes
guide
100-go-mistakes | guide | |
---|---|---|
11 | 26 | |
6,305 | 15,283 | |
- | 1.0% | |
9.0 | 4.7 | |
about 1 month ago | about 1 month ago | |
Go | Makefile | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
100-go-mistakes
-
Is there a good place to find best practices?
I usually see and recommend: https://go.dev/talks/2013/bestpractices.slide#1 https://go.dev/talks/2014/readability.slide#1 https://github.com/golang/go/wiki/CodeReviewComments https://about.sourcegraph.com/blog/go/idiomatic-go https://github.com/teivah/100-go-mistakes
-
🧠Cognitive Load Developer's Handbook
Yep and ~15 (depending on how you look at it) of the 100 Go Mistakes and How to Avoid Them related to channels and wait groups.
- How to get better on golang
- Which books should I read as an experienced Go developer?
-
Resources for an experienced programmer wanting to learn Go
I would also recommend this book https://github.com/teivah/100-go-mistakes
-
Golang interview prep
https://github.com/teivah/100-go-mistakes if it helps
-
New to go, what are the best practices?
In addition to the other recommendations, I highly recommend this book about common Go mistakes and idiomatic ways on how to avoid them.
-
Where can I find today's version of "Effective Go" article and catch up on best practices?
I've started reading this book and I think it's pretty great and up to date. There is even a content summary on GitHub, so you can check if you would like it.
- Performance Impact of Maps Compared to Slices
-
📖 100 Go Mistakes: Released!
In the meantime, I've prepared a GitHub repo containing the source code and a summary of each mistake described in the book: https://github.com/teivah/100-go-mistakes. I also have in mind this it could become a collaborative place where people could contribute and propose common mistakes; let's see if that works out.
guide
- I write HTTP services in Go after 13 years (Mat Ryer, 2024)
- Uber Go Style Guide
-
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
I'm pumped to learn Python. Are there any learning tools or docs I should focus on? For Go I liked the Uber Go Style Guide which represents a modern and idiomatic approach to Go and is a good tour of the language itself (for experienced engineers.) Is there something similar for Python?
- Course recommendation
- Is there a good place to find best practices?
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
https://github.com/uber-go/guide/blob/master/style.md - must have, write good go code from the beginning.
- Google’s Go Style Guide
-
Feedback for my first code
I really recommend reading: - Effective Go: https://go.dev/doc/effective_go#errors - Style Guide(by Uber): https://github.com/uber-go/guide/blob/master/style.md
-
Development guidelines
As you see - there are no reference to any technology or framework. There are a lot of best-practices for almost any framework, so you can choose an appropriate one. For example - if you're a rails developer, then you can check https://github.com/rubocop/ruby-style-guide and https://github.com/rubocop/rails-style-guide but if you're a golang developer - https://github.com/uber-go/guide/blob/master/style.md and https://developers.mattermost.com/contribute/more-info/server/style-guide/
-
[Beginner]How to structure my project with module and package?
Read ubers style guide first, its good to have some base rules that you follow when beggining. Heres the link: https://github.com/uber-go/guide/blob/master/style.md.
What are some alternatives?
go - The Go programming language
uber-go-style-guide-th - Uber's Go Style Guide Translation in Thai. Linked to the uber-go/guide as a part of contributions https://github.com/uber-go/guide
go-multierror - A Go (golang) package for representing a list of errors as a single error.
uber-go-style-guide-kr - Uber's Go Style Guide Official Translation in Korean. Linked to the uber-go/guide as a part of contributions
cognitive-load - 🧠Cognitive Load In Software Development
golang-standards/project-layout - Standard Go Project Layout
linters - a community wiki for improving code quality
awesome-linux-containers - A curated list of awesome Linux Containers frameworks, libraries and software
gobyexample - Go by Example
ireturn - Accept Interfaces, Return Concrete Types
gurl
automaxprocs - Automatically set GOMAXPROCS to match Linux container CPU quota.