Looking for elegant code bases written in Golang
1–7 of 7 posts
Re: Looking for elegant code bases written in Golang
#2Re: Looking for elegant code bases written in Golang
#3That's all you need. Tour go, and go by example.
Go is far from java. There aren't 10 ways to do things, it's not object oriented, and things like build tools, dependency management, formating, and tests are all baked into the core.
It's a relatively simple language that uses structs and relies heavily on the adapter pattern and composition. You should have no problem learning it quickly. Most go projects will look the same, have similar structure, and all will use the same formatting required by the compiler.
Re: Looking for elegant code bases written in Golang
#4Re: Looking for elegant code bases written in Golang
#5https://go.dev/learn/ That's all you need. Tour go, and go by example. Go is far from java. There aren't 10 ways to do things, it's not object oriented, and things like build tools, dependency management, formating, and tests are all baked into the core. It's a relatively simple language that uses structs and relies heavily on the adapter pattern and composition. You should have no problem learning it quickly. Most g…
Re: Looking for elegant code bases written in Golang
#6(I’m one of the authors.)
This project shows how to apply more complex patterns popular in business applications while staying true to the Go ideas, and not copying them blindly from Java.
In the Go community, you’ll often hear people say „just keep things simple” beats all patterns and is all you need. This may be true if you write a CLI tool or a small library, but if you have a team maintaining a big application, some patterns are super helpful.