Go 101 is a book focusing on Go syntax/semantics and all kinds of runtime related things (Go 1.17-pre ready) and tries to help gophers gain a deep and thorough understanding of Go. This book also collects many details of Go and in Go programming. Many of these details could not be found in official Go documentations. It is expected that this book is helpful for both beginner and experienced Go programmers.
git clone https://github.com/go101/go101.git), then run
go run .from the project path.
go install go101.org/go101@latest), then run
go101anywhere. This way is only valid for Go Toolchain v1.16+.
(about 500 pages, 350+ examples, 101+ details)
(*Counter).xAddrmethod in the memory layout article was wrong. This mistake has been fixed now.
If you would like to learn some Go details and facts every serveral days, please follow Go 101's official Twitter account: @go100and1.
The Go 101 project is hosted on Github. Welcome to improve Go 101 articles by submitting corrections for all kinds of mistakes, such as typos, grammar errors, wording inaccuracies, description flaws, code bugs and broken links.