Nican on Nostr: #Golang developers: I want to make 10 web requests in parallel. Is this really the ...
#Golang developers: I want to make 10 web requests in parallel. Is this really the best way to do something like this?
This looks very verbose and error prone. In C#, I would have used `Task.WhenAll`.
Published at
2023-09-29 04:00:07Event JSON
{
"id": "e09768814ffaebd2444d480c0b82023eef9bb781fda2fb5023e8da5cb943bf01",
"pubkey": "376a3864d7fde31572b0cf4f41e09917e7a6471145a0d4d0bedda7a76bbeae54",
"created_at": 1695960007,
"kind": 1,
"tags": [
[
"t",
"golang"
],
[
"proxy",
"https://furry.engineer/users/nican/statuses/111146435080462150",
"activitypub"
]
],
"content": "#Golang developers: I want to make 10 web requests in parallel. Is this really the best way to do something like this?\n\nThis looks very verbose and error prone. In C#, I would have used `Task.WhenAll`.\n\nhttps://cdn.pawb.social/mastodon-fe/media_attachments/files/111/146/424/942/627/885/original/096d5ab51bc89185.png",
"sig": "441abe9550b4415afa061166350bf7d8f2c8437bfc2c2578b9b49f05a8cd8b2171840971de1e843d3768bf55077fa17380756b634311b41bae9060a7384359ee"
}