Installing

This is the installing section from the GitHub repo.

First, you need to have go installed. You can install it by visiting the Go downloads page

There are two ways to install golings

go install

go install github.com/mauricioabreu/golings/golings@latest

Binaries

Go to the releases page and choose the option that best fits your environment.

Doing exercises

All the exercises can be found in the directory golings/exercises/<topic>. For every topic there is an additional README file with some resources to get you started on the topic. We really recommend that you have a look at them before you start.

Now you have the task to fix all the programs. Some of them don’t compile, and you need to fix them. Some of them compile, but have tests and you need to write some code to have them all green (these are the compile and test modes).

Clone the repository:

git clone git@github.com:mauricioabreu/golings.git

To run the next pending exercise:

golings run next

If you want to run a single exercise:

golings run variables1

In case you are stuck and need a hint:

golings hint variables1

To list all exercise while checking your progress:

golings list

To compile and run all the exercises:

golings verify

If you need help with CLI commands:

golings --help

Learning resources

  1. Golang official tutorial
  2. Go by example
  3. Aprenda Go

Other ’lings

  1. rustlings
  2. ziglings


If something is wrong in this page, edit this page on GitHub