Validate HTTP Status Codes in Go Using Built-in Constants

Use Go net/http constants like StatusOK and StatusNotFound for more readable code.

2025-05-24 · [Updated 2025-10-29] · 453 words
Iterate Through Strings in Go with a for-range Loop

You can use for-range loops to iterate through strings in Go without splitting because Go handles strings as byte slices.

2024-08-27 · [Updated 2025-10-29] · 243 words
Insertion Order Iteration of Maps in Go

Iterating through Go maps in insertion order.