Informazioni .go

Go adalah bahasa compiled, statically-typed dengan garbage collection dan concurrency built-in (goroutines dan channels). Fitur utama: sintaksis minimal (25 keywords), compiled ke binary statis (single file executable, tidak perlu runtime), garbage collection yang efisien, goroutines (lightweight threads, ribuan concurrent), channels (komunikasi antar goroutines), dan package system yang bersih. Digunakan oleh: Docker, Kubernetes, Terraform, Prometheus, CockroachDB, InfluxDB, dan banyak cloud-native tools. Kekurangan:泛型 (generics) baru ditambahkan di Go 1.18 (2022), tidak adaheritance (hanya composition), dan error handling repetitif (if err != nil). Go sangat ideal untuk: CLI tools,微services, web servers, API, dan distributed systems.

Software supportato

  • Visual Studio Code Gratuito
  • Go Compiler Gratuito
  • GoLand A pagamento

Formati alternativi