Definition of State pattern: The state pattern is a behavioral software design pattern that allows an object to alter its behavior when its internal state changes. This pattern is close to the concept of finite-state machines. The state pattern can ...
Tunny is a Golang library for spawning and managing a goroutine pool, allowing you to limit work coming from any number of goroutines with a synchronous API. A fixed goroutine pool is helpful when you have work coming from an arbitrary number of asyn...
I wanted to know how image package works and how can I draw images in Go language. So I decided to draw Github's contribution activity that you find in each user's profile. Here is my contribution activity calendar in Github: Show me the code First...
Go is an amazing language. Though it is notoriously simple, with bare minimal features compare to other modern languages like Koltin and Scala, it has great concurrency capabilities. In this article, we are going to see how we can write a complete co...