Mahib's Margins

Command Palette

Search for a command to run...

Testing

  • November 1, 2025

    go
    Revisiting interface segregation in Go

    Apply SOLID's Interface Segregation Principle in Go with consumer-defined contracts. Learn why small interfaces and implicit implementation matter.

  • September 7, 2025

    go
    Early return and goroutine leak

    Prevent goroutine leaks caused by early returns with unbuffered channels. Learn buffering, draining, errgroup patterns, and goleak testing.