Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created October 1, 2019 23:04
Show Gist options
  • Select an option

  • Save 100daysofdevops/f449be56c3bf0e77a223ec08441f7c1f to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/f449be56c3bf0e77a223ec08441f7c1f to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
for i:=0;i<=10;i++ {
if i == 6 {
fmt.Println("Time to skip using Continue")
continue
}
fmt.Println("Value of i:",i)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment