🚀 Accelerate your Go learning path and try out my premium courses - check out the pricing page now!

Interactive Lesson:

Hello World!

Welcome Gophers, to the start of your learning journey!

What awaits before you is fame and fortune, as well as a lot of fun in general. Go is a fantastic language that is full of magic and wonder.

Getting Started

Your first quest, on this arduous journey, is to complete the most famous of all progams in any programming language. This is a true right of passage for all developers that transcends the boundaries of time and space.

Task

We can import packages such as the fmt package (pronounced format) package that expose helpful exported functions such as Println which we can pass strings into as an argument.

  • Import the fmt package and then add a Println call in the main func.
  • Once you have successfully printed out ‘Hello World’ in the

Running Go Locally

Should you wish to attempt this quest locally, you can do so by creating a main.go file on your machine. You’ll also need to ensure that you have the go compiler installed on your machine.

With these things in place, you can then open up the terminal and run:

$ go run main.go
Hello, World

Should you wish to undertake any of these quests locally, feel free to do so and mark the lessons as complete when you feel you are ready!

Additional Scrolls of wisdom