Artikel
- Interfaces Interfaces in Go verstehen und idiomatisch einsetzen
- Implizite Implementierung Wer die Methoden hat, erfüllt das Interface — ohne Deklaration
- Empty Interface (any) interface{} und any — der Universalcontainer und seine Kosten
- Type Assertion und Type Switch Aus einem Interface den konkreten Typ herausholen — sicher mit comma-ok
- Interface Satisfaction Wann implementiert ein Typ wirklich ein Interface — die formale Regel
- Accept interfaces, return structs Funktionen nehmen Interfaces, geben konkrete Typen zurück — Gos API-Idiom
- Nil-Interface-Fallen Der berühmteste Go-Stolperer: nil-Pointer in Interface ist NICHT nil