Accept interface return struct
Accept interface return struct The term Accept interface return struct was first coined by Jack Lindamood in this article .
Read MoreOne way to architecture your Golang app
One way to architecture your app One common question/talking point in the golang community is how to architect your application.
Read MoreSingleflight
Why Singleflight? Imagine you are running a service that calls a slow operation, let’s say it makes an expensive query to a database.
Read MoreGraceful shutdown of server in Go
Graceful shutdown Graceful shutdown refers to shutting down an application or service in a way that allows it to finish any ongoing tasks or transactions, clean up resources, and exit in an orderly and controlled manner.
Read More