Dasar-Dasar Go untuk Developer
Semantik Go (value vs pointer), struktur package, internal slice & map, desain interface, error handling. Konsep fondasi untuk semua aplikasi Go. Prasyarat sebelum masuk concurrency, HTTP, atau database.
- 1. Struktur Project Go — Package, Module, dan Workspace
- 2. Value vs Pointer Semantics di Go
- 3. Slices Explained: Length, Capacity, and Backing Arrays
- 4. Maps in Go: Zero Values, Mutability, and Concurrency
- 5. Interface di Go: Implementasi Implisit dan Desain Praktis
- 6. Error Handling di Go: Wrapping, Checking, dan Sentinel Errors
- 7. `defer`, `panic`, dan `recover`: Kapan Menggunakannya
- 8. Generics di Go: Kasus Praktis Tanpa Overengineering
- 9. Functional Options Pattern: Kapan Membantu dan Kapan Tidak