
Go
Go is a simple, fast language built for web services and cloud tools. Learn it to write clean programs that are easy to run and maintain.
Go is a simple, fast language built for web services and cloud tools. Learn it to write clean programs that are easy to run and maintain.
What You Will Learn
- Variables, types, functions and control flow
- Slices, maps and structs
- Interfaces and error handling
- Goroutines and channels for concurrency
- Testing and packages
- Building web services and command-line tools
What You Will Build
- A command-line tool
- A small web service with a JSON interface
- A tested package with documentation
Who This Course Is For
Beginners, and developers from other languages who want to build back-end services and cloud tools.
What You Need
A computer and the free Go toolchain. The course explains how to install it.
How The Course Works
Every course on Skills in Minutes is free and follows the same five sections: Beginner, Intermediate, Advanced, Projects and Go pro. Each lesson is short, ends with a quick quiz and a summary, and builds on the one before. You can stop and return at any time.
Where It Can Lead
- Go developer
- Back-end or cloud developer
- DevOps and tooling engineer
Results depend on your practice, your goals and your market. This course gives you the skills and a portfolio of practical work to show for it.
Course Outline
Beginner7 lessons
1Your First Go Program: Packages, go run and a Single Binary2Variables, Types and Zero Values: Strings, Bytes and Runes3Control Flow and Functions: Multiple Returns, defer and Closures4Slices and Maps: Growth, Aliasing and Ordered Output5Structs, Methods and Interfaces: Value or Pointer Receivers6Errors in Go: Values, Wrapping, errors.Is and errors.As7Project: Parcel Statistics With Structs, Sorting and MapsIntermediate5 lessons
8Goroutines and Channels: Doing Many Things at Once9Shared Data: Mutexes, Atomics and the Race Detector10Testing in Go: go test, Table-Driven Tests, Failures and Coverage11Generics: Type Parameters, Constraints and Generic Types12Project: A JSON Parcel Service Tested With httptestQuestions
Is Go good for beginners?
Its small, consistent design makes it a friendly first typed language.
Do I need to know programming first?
No, though some experience helps. The course starts with the basics.
What is Go used for?
Web services, networking tools and cloud software are common uses.
Which version should I use?
A current release. Check go.dev for the latest.
