Learning Golang. Day 1

For the longest time, I've been meaning to learn another software development language in-depth, in addition to my primary development language, PHP. I've decided that the language is Go.

Want to learn more about Docker?

Are you tired of hearing how "simple" it is to deploy apps with Docker Compose, because your experience is more one of frustration? Have you read countless blog posts and forum threads that promised to teach you how to deploy apps with Docker Compose, only for one or more essential steps to be missing, outdated, or broken?

Check it out

There's a lot to learn. So, to not get overwhelmed and to make it as simple as possible, every weekday, I'm setting aside 30 minutes to study. Then, after the half hour is up, I'll be sharing something about what I learned here on the blog, as well as on https://www.linkedin.com/company/webdevwithmatt[LinkedIn] and https://twitter.com/webdevwithmatt[Twitter].

What Did I Learn Today?

Today, I started https://go.dev/tour/list[the Go Tour] to reacquaint myself with the core of the language. I say "reacquaint" as I've started to learn Go a few times over the last several years, but never stuck with it.

The tour is a very clear and well-structured way of understanding Go's foundations. It helps you learn in small, bite-size chunks, which is excellent when you're time-boxing as I am.

In addition to starting the Tour, I made https://github.com/settermjd/go-weather-station[a small refactor] to https://github.com/settermjd/go-weather-station[my test-bed Go application] to avoid it initialising a database connection on every request to the default route. It now initialises the database connection once, on application startup.

After day one, while I appreciate that there is still so much to learn, and that I have a long road in front of me – and that some of the syntax is a little new and confusing to me – I think it's going to be a very fun and educational journey.

See you link:/learning-golang/day-2/[next time!]