All about Goroutines
Learn about goroutines in Golang.
We'll cover the following...
What is the purpose of goroutines?
Suppose we want to make a GET
request and then process the response. There are also other steps in the same block of code that are independent of the HTTP
requests and have nothing to do with the response. As we are executing our code sequentially, we’ll encounter the GET
request first.
Once we send the request, we wait until we receive a response from the server. We can observe the inefficiency that would result from executing the code, though it has nothing to do ...