kg-generics
kg-generics copied to clipboard
Exercises and solutions from the book 'Know Go: Generics'
Know Go: Generics
This repository contains exercises, solutions, and code samples from an older edition of the book Know Go: Generics, by John Arundel.
For the current edition, please use https://github.com/bitfield/kg-generics2 instead.
1. Generics
There are no exercises for this chapter. You can relax!
2. Type parameters
Read an online version of the chapter
- Hello, generics
- Group therapy
- Lengthy proceedings
3. Constraints
- Stringy beans
- A first approximation
- Greater love
4. Operations
- Product placement
- Duplicate keys
5. Types
- Empty promises
6. Functions
- Func to funky
- Compose yourself
7. Containers
- Stack overflow
8. Concurrency
- Channelling frustration
9. Libraries
- Contain your excitement
- Merging in turn
10. Questions
There are no exercises for this chapter. Why not enjoy a refreshing cup of tea?
