gongular
gopl.io
Our great sponsors
gongular | gopl.io | |
---|---|---|
2 | 57 | |
500 | 7,330 | |
- | - | |
1.8 | 0.0 | |
over 3 years ago | about 1 month ago | |
Go | Go | |
GNU General Public License v3.0 or later | - |
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.
gongular
-
Learning a new language, or how I gained familiarity with Go
I wish more people encouraged people new to Go to look at some of the targets you'll arrive at so that people don't come into Go thinking the end result is going to be using the Go version of Laravel, Spring, or Rails.
Go has some interesting ideas about models/ORM's, OpenAPI, validation, templates, embedded binary files and other things. When types mater, like in Go, code generation is often very important as well which isn't as common in scripting languages.
https://goa.design/ for grpc/rest servers based on specs
https://gokit.io/ for microservices
https://github.com/mustafaakin/gongular for object-based validation
https://sqlc.dev/ for generated models based on SQL (skip the whole idea of an ORM)
https://github.com/jmoiron/sqlx for more traditional object population from SQL
https://pkg.go.dev/errors for an understanding of wrapping errors and nested error causes
https://gqlgen.com/ for auto-generated revolvers based on GraphQL schemas
https://pkg.go.dev/io#Reader all the Reader/Writer/Closer's as they are everywhere since Go cares about performance and therefore streaming abilities. No more string passing.
gopl.io
-
Step by Step process to learn Golang
The Go Programming Language book.
-
Is go worth studying as first language?
The GOPL book is good one to start with, if you prefer reading books. https://www.gopl.io/
-
Does anyone have any good resources to practice channel, context, and goroutine?
Not that they are leet code style, but some exercises from "The Go Programming Language" are really worth having a look at, also most solutions are available at https://github.com/adonovan/gopl.io
- Best way to learn GoLang for Java Developers?
-
is go still simple?
What part(s) are you struggling with and how are you learning? The Go Programming Language is slightly outdated but is an excellent intro. You can read the first chapter free. Also the resources on https://go.dev/learn/ are great. If I were you, I would come up with an idea you're excited about and build it.
-
If you want to learn Golang - please go through "Go Programming Language" by Brian Kernighan and Alan Donovan
"Low-level programming" is chapter 13, both in the version I have and on https://www.gopl.io/ -- the rest is all somewhat crucial stuff, except for maybe reflection.
What makes this book amazing is the amount of code you go through. I won't take me as an example as I am only in the middle of the book, but if you check the amount of CLOC in the examples and in the exercises you get 20K Lines of Code (https://github.com/adonovan/gopl.io, https://github.com/torbiak/gopl). That is a lot.
-
2 years of fiddling with Rust – critical thoughts
> I don't understand the "spiritual successor" part: Go intentionally broke ABI compatibility with the C world and intentionally does a lot of very un-C-like things: a large standard library, a GC'd runtime, a compiler toolchain that reimplements the "standard" toolchain, etc.
Could you explain "broke ABI compatibility with [...] C"? Do you mean broke compatibility with platforms' de facto C ABIs?
"Go bears a surface similarity to C and, like C, is a tool for professional programmers, achieving maximum effect with minimum means. But it is much more than an updated version of C."
- Preface of "The Go Programming Language"[1][2]
[1]: https://www.gopl.io
-
Easy to understand concurrency examples
The Go Programming Language has two excellent chapters on concurrency with examples that steadily grow in complexity. It's not free, but it's well worth the price IMO as it contains useful information for all features of the language. I referenced it constantly for the first year I wrote Go.
-
golang interface
Hi! You can learn about interfaces in the very nice book The Go Programming Language
What are some alternatives?
golangci-lint - Fast linters Runner for Go
golang-cheat-sheet - An overview of Go syntax and features.
maturin - Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
go101 - An up-to-date (unofficial) knowledge base for Go programming self learning
learn-go-with-tests - Learn Go with test-driven development
GoSwagger - Swagger 2.0 implementation for go
Revel - A high productivity, full-stack web framework for the Go language.
gobyexample - Go by Example
GoBooks - List of Golang books
chi - lightweight, idiomatic and composable router for building Go HTTP services
Buffalo - Rapid Web Development w/ Go
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.