Use Go Channels as Promises and Async/Await
If you’ve ever programmed with JavaScript, you definitely know about Promise and async/await. C#, Java, Python, and some other programming languages apply the same pattern using different names such as Task or Future.
On the contrary, Go doesn’t foll...
phuctm97.hashnode.dev6 min read