Latest · Go Programming
Implementing Enums in Golang: Patterns and Best Practices
Discover effective techniques for implementing type-safe enums in Go using constants, iota, custom types, and string mapping. Learn best practices for enum-like…
20 articles
Practical Go and web development tutorials: concurrency, performance, backend architecture, testing and DevOps — with runnable code examples.
Latest · Go Programming
Discover effective techniques for implementing type-safe enums in Go using constants, iota, custom types, and string mapping. Learn best practices for enum-like…
Go Programming
Learn how to master Go's for loop syntax with practical examples covering basic iteration, range loops, nested loops, and advanced patterns for efficient Go…
Go Programming
Explore the key improvements in Go 1.25, including stable profile-guided optimization, enhanced compiler performance, and new standard library additions for more…
Go Programming
Explore practical examples of Go 1.18 generics in action by refactoring caching logic in a real-world application to write cleaner, more maintainable code with less…
Go Programming
Learn how to effectively handle concurrent map operations in Go using sync.Map and mutex solutions to avoid data race conditions and improve application performance.
Go Programming
Learn how to implement Ristretto, a high-performance concurrent memory caching library for Go applications. Includes code examples comparing database access with and…
Go Programming
Learn how to implement flash messages in Go web applications using Echo framework and Gorilla Sessions to improve user experience by providing feedback after form…
Go Programming
Learn how to implement a simple, efficient queue in Go using channels and goroutines. This practical guide shows you how to process operations sequentially with Go's…
Go Programming
Testing of functions with database interactions always was challenging. Recently, I found a wonderful library, which will simplify writing tests and mocking database…
Go Programming
Learn how to implement Go middleware to intercept and modify HTTP handler responses with practical examples using chi router, demonstrating request/response…