This course is an introduction to Go for people who already have some programming experience.
The course material consists of slides (broken down into five parts, for easier navigation) some of which contain editable and executable code samples. You can run the slideshow on your machine after following a few simple steps:
-
If you haven't already installed Go on your machine, do so by following the official installation instructions.
-
Important: make sure that the directory where Go installs binaries is in your
PATH
environment variable. The directory in question is usually given by the following command:echo `go env GOBIN`
-
Install the
present
tool:go install golang.org/x/tools/cmd/present@latest
-
Clone this repository and
cd
to the clone:git clone https://github.com/jub0bs/go-course-beginner cd go-course-beginner
-
Run the present tool:
present
The output should contain some local URL (like
http://127.0.0.1:3999
). -
Visit the URL from step 5 in your browser, then click on "00_prelude.slide" to start the first slideshow.