Go core
1.27- Atomic counters
- Buffered channels
- Reading lines and words with bufio.Scanner
- Byte slices ([]byte)
- Send-only and receive-only channels
- Receiving from a closed channel
- Closures
- context.WithCancel
- context.WithTimeout and WithDeadline
- Custom error types
- Transactions with database/sql
- Deferred calls
- Embedding files with go:embed
- Wrapping errors with %w
- errors.As
- errors.Is
- errors.Join
- Running commands with os/exec
- Reading and writing files
- File paths and directories
- fmt formatting verbs
- for loops, break and continue
- Generics and type constraints
- Go modules and dependencies
- Goroutines and the go statement
- HTTP client requests
- HTTP routing with ServeMux patterns
- Interfaces and method sets
- Enumerations with iota
- Iterators and range over functions
- json.Marshal and json.Unmarshal
- Encoding and decoding with JSON v2
- Loop variables per iteration
- Map lookup with comma-ok
- Creating, updating and listing maps
- Methods and receivers
- min, max, and clear
- sync.Mutex and sync.RWMutex
- Nil interfaces
- Command-line arguments and environment variables
- panic and recover
- Pointers
- Detecting data races with -race
- Rate limiting with channels
- Regular expressions with regexp
- select statements
- Handling OS signals
- Appending to slices
- Sorting with the slices package
- Slice expressions and copying
- Structured logging with log/slog
- Number and string conversion with strconv
- strings.Builder
- strings.Cut and related functions
- Strings and runes
- Struct embedding
- Structs and composite literals
- switch statements
- sync.Once and sync.OnceValue
- Table-driven tests with subtests
- Temporary files and directories
- text/template
- time.Duration
- Formatting and parsing time
- Timers and tickers
- Type switches
- Variables, constants and shadowing
- Variadic functions
- sync.WaitGroup
- Worker pools