Skip to content

Go

Go: Check errors when flushing buffered output

November 14, 2026

Go: Choose a JSON payload type after reading its envelope

November 14, 2026

Go: Distinguish an absent header from a truncated header

November 14, 2026

Go: Distinguish an absent regexp group from an empty match

November 14, 2026

Go: Find the first sorted value that meets a threshold

November 14, 2026

Go: Quote diagnostic values without embedding raw newlines

November 14, 2026

Go: Remove one exact prefix and verify it was present

November 14, 2026

Go: Report the source position of an invalid CSV field

November 14, 2026

Go: Split host and port without breaking IPv6 addresses

November 14, 2026

Go: Validate UTF-8 before counting runes

November 14, 2026

Go: Copy bytes.Buffer data before retaining a snapshot

November 13, 2026

Go: Discard partial bytes when hex decoding fails

November 13, 2026

Go: Distinguish missing separators from empty values with strings.Cut

November 13, 2026

Go: Keep multiple failures inspectable with errors.Join

November 13, 2026

Go: Normalize IPv4-mapped addresses before using map keys

November 13, 2026

Go: Parse decimal integers within an explicit signed range

November 13, 2026

Go: Preserve large JSON integers with Decoder.UseNumber

November 13, 2026

Go: Read one extra byte to detect an oversized input

November 13, 2026

Go: Remove adjacent duplicates with slices.Compact

November 13, 2026

Go: Validate timeout bounds after parsing a duration

November 13, 2026

Go Basics: Avoid Typed-Nil Error Surprises

October 31, 2026

Go Basics: Build URL Queries Without String Concatenation

October 31, 2026

Go Basics: Copy Slices Before Editing Shared Data

October 31, 2026

Go Basics: Count Concurrent Events with Typed Atomics

October 31, 2026

Go Basics: Distinguish Missing Map Keys from Zero Values

October 31, 2026

Go Basics: Encode Fixed-Width Records with Explicit Byte Order

October 31, 2026

Go Basics: Escape Untrusted Text in HTML Templates

October 31, 2026

Go Basics: Exercise an HTTP Handler Without Opening a Port

October 31, 2026

Go Basics: Finish a Channel Stream Without Sentinel Values

October 31, 2026

Go Basics: Parse CLI Options Without Exiting the Process

October 31, 2026

Go Basics: Parse CSV Records Without Splitting on Commas

October 31, 2026

Go Basics: Parse Timestamps and Durations Explicitly

October 31, 2026

Go Basics: Pass Subprocess Arguments Without a Shell

October 31, 2026

Go Basics: Preserve Error Identity Through Context

October 31, 2026

Go Basics: Reject Extra JSON Values in Configuration

October 31, 2026

Go Basics: Set Explicit Limits for Line-Oriented Input

October 31, 2026

Go Basics: Share One Lazily Computed Value

October 31, 2026

Go Basics: Stop a Worker with Context Cancellation

October 31, 2026

Go Basics: Understand Deferred Calls Before Using Cleanup

October 31, 2026

Go Basics: Wait for Concurrent Work Before Reading Results

October 31, 2026