On Wed, May 2, 2018 at 11:34 AM Lutz Horn <lutz.h...@outlook.de> wrote:

> You can even write

> for true {
> }
>
> to get an infinite loop you will have to break from.

for {
}

works just as well: https://play.golang.org/p/aEkbUjLmf_T

-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to