← All tutorials

Skill Zuno · skillzunos.com · Fullstack

Go tutorial

Learn Go on Skill Zuno. This Go tutorial covers New, Easy, Medium, Hard, and Diff levels so you can study practical Go problems on skillzunos.com.

Open Go on Skill Zuno

Also see the Go interview questions.

Go is a statically typed, compiled language from Google designed for simple, fast and concurrent software. It has goroutines and channels built in, implicit interfaces, and a single static binary output. Go interviews focus on concurrency, slices and maps, interfaces, error handling and the context package.

Go topics covered

  • Slices, arrays and maps, and how slices share backing arrays — Length, capacity and append, and the surprises when two slices share one backing array.
  • Structs, methods and value versus pointer receivers — Attaching methods to types, and when a method must use a pointer receiver.
  • Implicit interfaces and the empty interface — How a type satisfies an interface just by having its methods, and small-interface design.
  • Errors as values, wrapping with %w, errors.Is and errors.As — Go's explicit error handling, adding context to errors, and checking for specific ones.
  • Goroutines and channels, buffered and unbuffered — Starting concurrent work cheaply, and passing data between goroutines safely.
  • select, sync.WaitGroup and sync.Mutex — Waiting on several channels, waiting for a group of goroutines, and protecting shared data.
  • The context package for cancellation and timeouts — Propagating deadlines and cancellation through a request so work stops when it is no longer needed.
  • Generics with type parameters — Writing generic functions and constraints introduced in Go 1.18.

What you can learn

  • Go tutorial for beginners and experienced developers
  • Level-based practice: New, Easy, Medium, Hard, and Diff
  • Fullstack topics alongside Go on skillzunos.com

More Fullstack tutorials

All tutorials