DEV Community

Cover image for I just want to be a Golang developer - How to get started
Antonio Djigo
Antonio Djigo

Posted on • Edited on

I just want to be a Golang developer - How to get started

Hey 👀✨

I've been searching almost everywhere to find some good resources to learn Go, and I just realized that there wasn't much information about it! So, what a better way to learn new things than reviewing resources to teach others.

But first, allow me to introduce myself: I'm Antonio (Tony, Tonio, Anto, many other variants allowed...), a Ruby on Rails developer for almost a year, after one and a half years of WordPress and other front-end tasks. I wanted to do something new, something that could teach me how to improve in other fields of programming and would be fun at the same time. That leaves us with the big first question...

Le'go

Why would I learn GO?

Let's start with the basics, in case you haven't decided yet if this language is really for you.

First of all, Go is an open-source programming language. It's statically typed and produces compiled machine code binaries (an executable, just like Java). If you need a comparison, people say that Go it's the "new age C" speaking of syntax (fear not, it's pretty easy on the eyes).

It was introduced back in 2009, and it's now (16/03/2020) in version 1.14.

It's main characteristics are:

  • Ease of use together with state-of-the-art productivity.
  • High-level efficiency along with static typing.
  • Advanced performance for networking and the full use of multi-core power.

And you may be wondering what you can do with Go, well:

  • You can create websites.
  • You can de IoT stuff.
  • You can do Desktop Software.
  • You can do... eveything.

So powerful
So damn powerful.

Aren't you interested yet? You can read more about it on this website

If you are, please keep reading, as there is a lot to know.

How do I learn GO?

First, you need to know the basics of the language, and for that, I truly recommend doing the Go Tour.

A Go Tour webpage example

On this tutorial made by the creators of Golang, you will get through all the content that makes Go what it really is. All of its main features you need to know to start doing stuff. Slices, Goroutines, Channels, Structs... but worry not, those concepts may sound pretty weird, but if you have a software background, you will notice that everything else is pretty much the same as other languages (and even easier!).

After you've done this, you may want to set up an environment on your computer.

How do I install GO?

If so, you should follow the steps here. No matter what OS you have on your computer, Go works everywhere!

I do recommend VSCode to work with Golang. You'll get a lot of useful tools recommended by the editor itself when you start coding with the language. A linter, snippets, etc...

Teamwork!

Thanks VSCode team!

You also have the JetBrains option, GoLand, if you want and can afford it.

Something to read, so I can improve?

Before we dive deeper into recommendations for Go, you should check some of these books out if you think you need more knowledge of the language:

Read please

But please wait until COVID-19 goes away!

Okay, I feel that you now have enough resources to create your own path into Golang, but you need something to practice, so... what about some exercises?

What about learning by doing?

You don't need to make every exercise or watch every video you see here, but they may help you develop your programming skills and Golang knowledge.

Gophercises

Gophercises logo
Gophercises is a free course that will help you become more familiar with Go while developing your skills as a programmer. In the course, we will build roughly 20 different mini-applications, packages, and tools that are each designed to teach you something different.

JustForFunc

JustForFunc Channel
JustForFunc also used to upload tons of videos about Go new features and tutorials, so be sure to check them out!

Other resources of interest:

And last, but not least.

Do a project of your own!

There are a lot of options around there. Maybe find something that you've always wanted to have, or some simple application that you think is missing something, and create it again.

I started with a To-Do list on console and an HTTP server to serve my own website. Keep it simple at first, we don't want you to get suffocated!

Do it yourself!

DIY!

Here you have a curated list of awesome Go frameworks, libraries and software Awesome Go, so you can experiment with whatever you want to first.

If you are into web development (as I am), I can recommend you Gin Gonic, a web framework to have a pleasant journey creating a website of your own (even though, I recommend you to do it without framework if this is your first time using Go).

The end

Nothing at all.

And... I think we can stop it for the day. There is a lot to speak about regarding Go, but I think that the basics are covered in this post, so you can start experimenting with Go. Thanks for reading, and please, if you liked it, let me know, so I keep bringing content to this awesome community.

You can follow me so you are tuned to whenever I post something through my Twitter account, hope you liked it!

There are no limits... Go in and play!

Top comments (3)

Collapse
 
tingwei628 profile image
Tingwei

So, have you got your golang job yet?

Collapse
 
brownio profile image
Antonio Djigo

Yesss, I've been working as such for a year and a half now. Also got a lot of offers and opportunities through LinkedIn

Collapse
 
essanousy profile image
mohamed es-sanousy

nice article, do you have something on python? for experienced developers.