"Did you know that..." talk.
-
Make the nil receiver useful - Example.
-
copy
- The most "unpopular" built-in function, aftercomplex
/imag
/real
- Examples. -
Anonymous structs, anonymous interfaces, and interface validation.
-
Typed function that implements an interface (show only if more than 5 people in the audience don't know that) - Example.
-
Control parallelism. limit the number of goroutines - Example.
-
Relative imports - Example.
-
Shadowing. run vet -shadow - Example.
-
close channel to notify many. but be careful from the gotcha (closed channel always true in select) - Example.
-
Panic-Recover flow control example - Example.
-
Embed interface. sort.Reverse example - Example.
-
Few words about 1.10 release.
- strings.Builder - why, and what it solves.
- File.SetDeadline
- json.IgnoreUnknownFields
- And more..
Suggestions for next meetups:
- Some tips to organize your table driven tests.
- Go schedular more cooperative than preemptive.
- Explain the
reflect
package. - Compiler optimization.