Forever

Omit the condition entirely and you get an infinite loop — it just runs forever.

for {} is Go’s most compact loop. You’ll see this pattern in servers and background workers that are meant to run until something explicitly stops them. Clean and intentional.

package main

func main() {
	for {
	}
}