go101
An up-to-date (unofficial) knowledge base for Go programming self learning (by go101)
enumer
A Go tool to auto generate methods for your enums (by dmarkham)
Our great sponsors
go101 | enumer | |
---|---|---|
41 | 6 | |
5,385 | 369 | |
- | - | |
7.3 | 2.3 | |
4 days ago | 2 months ago | |
HTML | Go | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
go101
Posts with mentions or reviews of go101.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-17.
-
The Journey Ahead: My 6-Month Plan to Master GoLang
Go101: An in-depth guide that explores Go's internals, perfect for understanding the language at a deeper level.
- All books in Go 101 series have been updated to Go 1.21
-
Deconstructing Go Type Parameters
Go101 is a jewel of a resource. It’s a spec written by an impartial observer not worried about trying to make golang look good but instead giving you the understanding to avoid all the edge cases
https://go101.org/
- How to learn go from zero?
-
Perfect Golang learning roadmap
How about this: https://go101.org/ might help :)
-
Resources for an experienced programmer wanting to learn Go
Go 101 books, which cover every corner of the language itself (syntax, semantics, compiler and runtime implementation) and make more detailed explanations than the official docs in several points. (Author here)
-
Golang string concatenation performance comparison
Sometimes, reality and theory are not consistent: https://github.com/go101/go101/blob/master/pages/optimizations/code/4-string-and-byte-slice/concat-with-stack-byte-slice_test.go
-
Language specification or just a detailed book on the internals (focused on usage rather than compiler creation)?
How about go 101 ?
- I know JavaScript and looking for Go learning resource
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
https://go101.org/ - read this.
enumer
Posts with mentions or reviews of enumer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-28.
- Go Enums Still Suck
-
Go isn't the right tool for ANY job
Just use const blocks, iota and enumer and be happy.
-
Does Go not have enums in the sense that I can use them as a type?
Define your type as an alias on int and values using iota as others have said, then autogenerate the rest of the functionality from other languages with https://github.com/dmarkham/enumer
-
Safer Enums in Go
We tried out struct-based enums like this for a while and they're definitely better than the vanilla version, but they still have the problem of "how do you iterate over all the values?" and "how do you create an enum value from a string?". We chanced upon https://github.com/dmarkham/enumer a few months ago and have been very happy so far.
Use enumer in combination with what some of this article.
- What I'd like to see in Go 2.0
What are some alternatives?
When comparing go101 and enumer you can also consider the following projects:
go - The Go programming language
go-sumtype - A simple utility for running exhaustiveness checks on Go "sum types."
rustig - A tool to detect code paths leading to Rust's panic handler
yaegi - Yaegi is Another Elegant Go Interpreter
go-perfbook - Thoughts on Go performance optimization
go-retry - Go library for retrying with configurable backoffs
gopl.io - Example programs from "The Go Programming Language"
codegena - Codegeneration tool
mangagram - A Telegram bot for new manga chapter alerts. Search for your favorite titles and subscribed to them for alerts.
yaegi-template - Use yaegi as a template engine.