Skip to content

Binary Musings

  • Privacy Policy
  • Connect
  • Terms and Conditions

golang

Go Pipeline Pattern Guide: Channels & Concurrent Processing

November 9, 2025July 10, 2025 by Garry Chen 101
Go Pipeline Pattern

Learn Go’s pipeline pattern for building modular, concurrent applications. Explore channel-based pipelines, HTTP middleware chains, and fan-in/fan-out patterns using goroutines for efficient data processing and stream operations.

Categories golang Tags Channels, Concurrency, Golang, Goroutines, Pipeline-Pattern Leave a comment

Go Decorator Pattern Guide: Pipelines & HTTP Middleware

November 9, 2025July 9, 2025 by Garry Chen 101
Golang Decorator Pattern

Master Go’s decorator pattern with practical examples: function timing decorators, HTTP middleware chains, and pipeline processing. Learn to build reusable higher-order functions and explore generic decorators for clean, modular code architecture.

Categories golang Tags Decorator-Pattern, Golang, Higher-Order-Functions, Middleware, Pipelines Leave a comment

Go Generics Guide: Type-Safe Programming & Data Structures

November 9, 2025July 7, 2025 by Garry Chen 101
Golang Generics

Comprehensive guide to Go generics: learn type parameters, constraints, and build generic data structures like stacks and linked lists. Explore functional programming patterns with generic Map, Reduce, and Filter operations for type-safe, reusable code.

Categories golang Tags Data-Structures, Functional-Programming, Generics, Golang, Type-Safety Leave a comment

Go Functional Programming: Map, Reduce & Filter Patterns

November 9, 2025July 6, 2025 by Garry Chen 101
Golang Map Reduce Filter

Learn essential functional programming patterns in Go: Map, Reduce, and Filter operations for elegant data processing. Discover how to separate business logic from control logic with practical employee data examples and explore the path toward generic programming.

Categories golang Tags Data-Processing, Functional-Programming, Golang, Map-Reduce, Programming-Patterns Leave a comment

Go Visitor Pattern: Learn from kubectl Implementation

November 9, 2025July 4, 2025 by Garry Chen 101
Golang Visitor Pattern

Discover how Kubernetes kubectl implements the Visitor design pattern in Go using functional programming.

Categories golang Tags Design-Patterns, Golang, Kubectl, Kubernetes, Visitor-Pattern Leave a comment

Go Inversion of Control Guide: Struct Embedding & Design

November 9, 2025July 2, 2025 by Garry Chen 101
Golang IOC

Master Go’s Inversion of Control using struct embedding, polymorphism, and dependency inversion. Learn to separate control logic from business logic with practical examples including undo functionality and reusable design patterns.

Categories golang Tags Dependency-Injection, Design-Patterns, Golang, Inversion-of-Control, Struct-Embedding Leave a comment

Go Functional Options Pattern Guide: Clean API Design

November 9, 2025June 30, 2025 by Garry Chen 101
Golang Functional Options Pattern

Learn the popular Functional Options pattern in Go for building clean, configurable APIs that are easy to use, maintain, and extend without complex constructors or configuration structs.

Categories golang Tags API Design, Configuration, Design-Patterns, Functional Options, Golang Leave a comment

Go Error Handling: Modern Patterns & Best Practices

November 9, 2025June 29, 2025 by Garry Chen 101
Golang Error Handling

Go error handling patterns including modern error wrapping, sentinel errors, resource cleanup with defer, and techniques to avoid ‘if err != nil’ hell.

Categories golang Tags Best Practices, Error Handling, Error Wrapping, Go 1.13, Golang Leave a comment

Go Programming Patterns: Slices, Interfaces & Performance

November 9, 2025June 28, 2025 by Garry Chen 101
Golang Slice

Essential Go programming patterns including slice memory management, interface design, time handling, and performance optimization techniques for better Go applications.

Categories golang Tags Golang, Interface Design, Performance, Programming-Patterns, Slice Management Leave a comment

Go Network Programming: How Epoll Powers Performance

November 14, 2025June 13, 2025 by Garry Chen 101
Golang Epoll Gopher

Exploring how Go combines the simplicity of synchronous programming with the efficiency of epoll-based asynchronous I/O for high-performance network programming.

Categories golang Tags Epoll, Golang, Goroutines, Network Programming, Performance Leave a comment

Recent Posts

  • Rust Error Handling 101: Option, Result, and Panic
  • Makefile Tutorial Part 1: Basic make Rules, Targets & Clean
  • Rust Smart Pointers Guide: Box, Cow & MutexGuard Explained
  • Rust Standard Library Traits: Complete Guide to Memory & Type
  • Rust Traits Guide: Polymorphism & Dynamic Dispatch Tutorial

Recent Comments

No comments to show.

Archives

  • November 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025

Categories

  • c++
  • cpp
  • golang
  • javascript
  • rust
RSS Feed Subscribe
© 2025 Binary Musings • Built with GeneratePress