Go practice
0 exercises and 82 quizzes from the lessons of this track. Sample tests run in your browser; what you pass is kept in this browser only.
Getting started with Go 1.27
Basics: values, types and control flow
- Quiz: Variables, short declarations and zero values
- Quiz: Basic types: numbers, strings, bools, conversion
- Quiz: Constants, untyped values and iota
- Quiz: Operators, precedence and bit manipulation
- Quiz: Control flow: if, for, range and switch
- Quiz: Formatted output with fmt: verbs and widths
- Quiz: Reading input: lines, arguments and fast I/O
Functions, closures and defer
Arrays, slices, maps and strings
- Quiz: Arrays are values: length, copies, comparison
- Quiz: Slices: length, capacity, append and aliasing
- Quiz: The slices package: sort, search and compare
- Quiz: Maps: lookups, sets, iteration and gotchas
- Quiz: Strings, bytes and runes: UTF-8 done right
- Quiz: Numbers as text: strconv, bases and grouping
Structs, pointers and methods
Interfaces and type assertions
Errors: values, wrapping, Is, As and AsType
Coming from Python or Java
Packages, modules and dependencies
Testing, fuzzing and benchmarks
Generics, including generic methods (1.27)
Iterators and range-over-func
Goroutines, channels and sync
context and cancellation
Concurrency patterns in Go
Standard library essentials
JSON: encoding/json and encoding/json/v2
HTTP servers and clients with net/http
Tooling: vet, fix, linters, generate and builds
Results here are what this browser has checked: feedback for you, not proof. They stay on this device; your Learn progress can be exported to a file. · Back to the Go track