Written by Sundara Senthil and Edited by Angelica Hill
Welcome everyone to my first technical blog!
This blog has been written for beginners to Go Lang and the use of Context Packages in Go. However, I hope it will be of interest to Gophers of all levels
This blog will go through what context is, why it’s used, as well as going through a few examples of how the Context package can be used in Go. I will then give you an outline of the Rules of Use, before summarizing.
What is Context?
If your main task is to make a shirt, first you need to complete a few sub-tasks, such as buying the material, thread, buying buttons, as well as designing what you want your shirt to look like. Not until all these sub-tasks are complete can you start on the main task, to construct the shirt. …
Originally published at https://medium.com.