Cookies management by TermsFeed Cookie Consent
Russia has invaded Ukraine and already killed tens of thousands of civilians, with many more raped or tortured. It's a genocide. We need your help. Let's fight back against the Russian regime.
Help Ukraine! Fight the Russian regime!

syntax

Learn the basics of Go syntax by example

Please consider supporting us by disabling your ad blocker

🦥 Ternary operator in Go

Learn how to substitute a ternary operator not available in Go
introduction syntax

➰ Foreach or for range loop in Go

Learn how to construct the popular programming loop
introduction loop syntax