TutorialEdge Tutorials
Combine variadic parameters and multiple return values to resolve a barrage of incoming hits.
Coordinate a party of goroutines with a WaitGroup and a channel to tally their combined damage.
Wait on multiple channel operations with select, and guard shared state with the sync package.
Model your heroes and monsters as structs in Go — define fields and build values with struct literals.
Branch cleanly on a value with Go's switch statement — no fallthrough by default.
Declare variables the long-hand way with var and explicit types, and meet Go's basic types and zero values.
Store and reuse values in Go using short variable declarations, the adventurer's satchel for data.
Accept any number of arguments with variadic functions, and capture state with closures in Go.
In this course, we'll be venturing out into the realm of Go and conquering all manner of foul beasts and ghouls whilst …
A test page on the site - if you've landed here, apologies!