Latest Articles

Go

Go Type System: Basics and Type Inference

Master Go's type system — basic numeric and string types, type inference with :=, explicit type declarations for domain modeling, type aliases vs new types, zero values, and …

Go

GORM: ORM in Go

Master GORM for Go — model definition with struct tags, CRUD operations, associations with Preload, scopes, hooks, transactions, and avoiding the N+1 query problem.

Go

GraphQL APIs with Go and gqlgen

Build GraphQL APIs in Go with gqlgen — schema-first development, code generation, resolver implementation, DataLoader for N+1 prevention, subscriptions, and middleware for …

Go

Interface Composition and Embedding in Go

Master Go interface composition — embedding interfaces to build larger contracts, struct embedding for method promotion, the middleware wrapper pattern, and when composition beats …