This repo contains the source files to accompany the Go language course found at zerotomastery.io.
To follow along with the demos & work on the exercises, open the src/lectures
directory in your IDE.
Demo source files are available in src/lectures/demo
and coding excercises are available in src/lectures/exercise
.
When your terminal is in the src/lectures
directory, demos can be ran using go run ./demo/demo-name
and exercises can be ran using go run ./exercise/exercise-name
.
To view solutions for the exercises and projects, checkout the solutions
branch using git checkout solutions
(you may need to commit or stash your changes to switch branches).
The solutions
branch also includes the code seen in the demos.
Offline copies of all the slides used in the course are available for download here. File names correspond to the titles of the lectures.
To work on the Pixl project, open the projects/pixl
directory in your IDE.
You can then execute go run ./pixl
to run the project.
The Pixl project requires a working installation of gcc
.
Installation instructions for various operating systems are covered in the course.
gcc
is a widely available tool, so if your operating system is not detailed in the course (or if you are having trouble), please ping Jayson#6730
in Discord for installation assistance or ask in #golang
or #helpme
.