khaja-dev.hashnode.devGolang 1.26 version Feature new(expr) SyntaxPrerequisites: Docker Go 1.26 Environment Since Golang 1.26 isn’t directly available for public consumption, we will use golang:tip as a stand‑in for Go 1.26 and capture new(expr) demo output into a file, set up Docker and your project like this. Pla...Dec 10, 2025·8 min read
khaja-dev.hashnode.devUnderstanding the Go Idiom: The Purpose and Usage of _ struct{} in StructsIn Go programming, struct types are powerful tools for grouping related data fields. One interesting idiom that often appears in Go code, especially in configuration or internal packages, is the use of a field named _ struct{} inside a struct. While ...Nov 24, 2025·4 min read