A Tour of Go for the C# Developer
summary
A small Go console app fetches nine IDs from a localhost .NET service (each request simulates a 1s server delay) and demonstrates that sequential requests take ~9s while launching one goroutine per request with goroutines and channels and a buffered channel of size 10 reduces total time to ~1s. Code uses net/http, json.Decoder, fmt, time, make for channels, pointers and a struct with a Stringer-style method, and shows blank identifier and implicit interface implementation. Source and runnable examples are on GitHub.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:10Why Go
- 2:16About Go
- 3:55Todays Topic
- 7:00Code
- 14:20Build
- 15:45Variables
- 18:50Type
- 20:50Service call
- 27:38JSON Decoder
- 29:30Modifying Parameters
- 31:25Getting a Value
- 33:05struct
- 39:41indexer
- 40:59range
- 41:51id
- 44:25Go routines
- 48:33Go make
- 52:11Weight groups
- 54:16Code tour
- 57:36Recap








