- Effective Go (I think this is overkill for students)
- I reviewed this.
- https://golang.org/ref/spec (spec of the implementation)
- I reviewed this.
- https://golang.org/pkg/ (list of all packages)
- I already reviewed and pulled out the interesting ones.
- https://golang.org/doc/faq
- A bunch of trivia questions uninteresting to students I think.
- I reviewed this.
- context (https://blog.golang.org/context)
- Not super interesting. Just used by requests to signal: "hey, cancel this request." As in, let's say you make a DB call, and hand it to a SQL driver. But then that takes too long. In the meantime, you don't need the answer anymore. So you can cancel the request by closing a channel.
- I reviewed this. Not hyperinteresting.
- Kinda interesting how reflect relates to interface. To get a
reflect.Value
you callreflect.ValueOf
on aninterface{}
. - If the
interface{}
stores a non-ptr value, you can't mutate it using reflection, because the interface holds a copy of that value.
unsafe atomic
Also: go test.