The continue statement skips to the next iteration:
for i := 0; i < 5; i++ {
if i == 2 {
continue
}
fmt.Println(i)
}
This prints , , , . The number is skipped because continue jumps to the next iteration. The post statement still runs after continue.