Top 5 online resources to learn Go from scratch in 2022

This is a list of Top 5 resources you can use to start learning Go from scratch. Before going into the resources let's see why I think it's worth learning golang in 2022

How Go is trending in 2022

Golang is reportedly one of the fastest growing and most loved programming languages in the past years. The recent StackOverflow Developer Survey showed how Go is ranking as one of the most wanted and loved programming languages right now, ranking as 3rd and 5th respectively for the 2018 report. Yet another research showed how Go is being a popular programming language right now, is the Hackerrank Developer Skills Report, where Go ranks as the first language developers are eager to learn next.

Trending programming languages report by Hackerrank

1. The Go Tour website

One of the best places to start is the official Go Tour website: https://tour.golang.org. This is an interactive tutorial which you can use to learn Go by running your own code snippets on the website itself. The tour is divided into a set of modules each explaining a different concept with a couple of exercises at the end of each module. The interesting thing is that the tour is available offline just by running go tool tour in your command line if you have already installed Go locally.

2. Effective Go

Effective Go is another official resource which is available for free from the offical Go website https://golang.org/doc/effective_go.html. I found it really useful especially because is not just a syntax reference but a more complete description on all the major Go features and constructs and how to use them effectively.

3. Go By Example

Another interesting place to find good examples when you have already understood the basics of the language and want to start hacking on is https://gobyexample.com. Go by Example is a website with the most common examples, from like how to work with JSON to how to create a buffered channel

4. The Go Bootcamp online book

There is a free online mini book on how to get started on Go called The Go Bootcamp which you can find at http://www.golangbootcamp.com/book/. It has a list of basic constructs and concepts you need to grasp in a new programming language (like control flows, interfaces, concurrency...) each of them are then linked with a interactive example on the Go playground

5. The Golang FAQ

The official Go website is full of amazingly good resources like the Golang FAQ section https://golang.org/doc/faq

6. Golang Cafe YouTube Channel [Extra]

I have recently started a YouTube Channel where I cover evergreen high-quality educational content about programming in Go (Golang). The channel covers any topic that you might need to learn intermediate to advanced concepts in Go. Feel free to check it out here 📺 https://www.youtube.com/c/GolangCafe

Join the Golang Developers Community on Golang Cafe