RANIARANIA Academy

Getting Started with Go

Install the Go toolchain, initialise a module, and write, run and build your very first Go program with confidence. You will learn the everyday go commands, how modules replaced GOPATH, sensible project layout, and where to reach in the standard library.

Watch the free preview

Installing Go and verifying your toolchain — free to watch, no account needed.

Go (Golang) BEGINNER · 150 min · Certificate on completion · 3 CPD points

What you'll learn

  • Set up Go and run your first program end to end
  • Explain how Go modules replaced GOPATH and initialise one with go mod init
  • Use the core go tool commands — run, build, fmt and vet — in daily work
  • Lay out a small Go project with package main and func main
  • Navigate the standard library to find the package you need

Syllabus

Installing Go and Your First Program
Installing Go and verifying your toolchainFree preview15 min
package main, func main, and your first program15 min
The go Tool in Everyday Use
Running and building with go run and go build15 min
Formatting and checking code with go fmt and go vet15 min
Modules and Project Layout
Modules and go mod init — GOPATH versus modules15 min
Structuring a small Go project15 min
Using the Standard Library
A tour of the standard library15 min
Putting it together — a small command-line program15 min
Lab — 10 Exercises & Solutions
Exercises 1–515 min
Exercises 6–1015 min