Simple CheatSheet
    • PythonPython
    • DatabaseDatabase
    • Operating SystemOperating System
    • ProgrammingProgramming
    • Linux CommandLinux Command
    • ToolkitToolkit
    • OtherOther
    • Keyboard ShortcutsKeyboard Shortcuts
Dart
Dart
HTML Canvas
HTML Canvas
Redis
Redis
Bash
Bash
JavaScript
JavaScript
Go
Go Flow control

Continue keyword

for i := 0; i <= 5; i++ {
    if i % 2 == 0 {
        continue
    }
    fmt.Println(i)
}
Comments
Related
  • Also see
  • Miscellaneous
  • Go Interfaces
  • Go Methods
  • Go Error control
  • Go Concurrency
  • Go Packages
  • Go Functions
  • Go Structs & Maps
  • Go Flow control
  • Go Strings
  • Go Basic types
  • Getting Started