How Am I Learning Golang

In my work, I’ve started using Golang. I’m aware of AI tools like ChatGPT, which can help me complete tasks more efficiently. However, I really enjoy learning new technologies and am always open to new challenges.

In the past, I learned Scala, Python, and Java by reading books and practicing them daily. This time, I’m learning Golang using different approaches. I use Exercism to practice Golang, and now I’ll show you how to use it.

Step 1: Install Golang

First, you need to install Golang on your computer. You can download it from the official website. I won’t go into detail on how to install it because it’s straightforward. You can find the installation instructions here.

Once Golang is installed, you can check if it’s installed correctly by running this command:

go version

Step 2: Install Exercism

Now that Golang is installed, let’s install Exercism. You can find the installation instructions for your operating system on this page.

After installing Exercism, you can verify the installation by running:

exercism version

Step 3: Start Practicing

Now that everything is set up, you can start practicing Golang using Exercism. You can download exercises using the following command:

exercism download --exercise=<exercise-name> --track=go

For example:

exercism download --track=go --exercise=lasagna-master

This command will download the lasagna-master exercise for the Golang track.

After solving the exercise, you can submit it using:

exercism submit

This will upload your solution to Exercism, and you can see other people’s solutions as well.

Conclusion

This is how I’m learning Golang using Exercism. It’s a great platform to practice coding in different languages. Let’s try to solve some exercises in Golang or another language you prefer. I hope you enjoy the process!