Go
42 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Go Reflectionhistorical
Runtime type/value inspection, settable values, interfaces, tags, and reflection trade-offs.
- Errors in Gohistorical
Explicit error returns, wrapping, classification, inspection, and preserving operational context.
- Go Interfaceshistorical
Implicit interface satisfaction, dynamic type/value pairs, nil subtleties, and API design.
- Go Functionshistorical
First-class functions, multiple returns, closures, methods, variadics, and value semantics.
- Go Stringshistorical
Immutable byte sequences, UTF-8 conventions, runes, indexing, conversion, and allocation.
- Go Mapshistorical
Hash maps, zero-value reads, mutation, iteration, concurrency rules, and implementation-sensitive internals.
- Go unsafehistorical
Low-level pointer/layout operations, guarantees, portability risks, and containment strategies.
- panic and recoverhistorical
Panic unwinding, deferred cleanup, recovery boundaries, and when not to use panic.
- Go Type Systemhistorical
Defined and alias types, interfaces, method sets, assignability, conversion, generics, and zero values.