-
Examples used in the following article Konstrukce pro řízení běhu programu v jazyce Go (dokončení)
-
This article is part of the serie about Go programming language Programovací jazyk Go
- Syntax of goto statement
- Use goto to jump from inner loop
- Use goto to jump from switch statement
- Improper goto usage - jumo over variable declaration
- Improper goto usage - jumo into inner block
- Improper goto usage - jumo into inner block (loop)
- Improper goto usage - jumo into other function
- Local labels for goto
- Defer statement
- Defer with function
- Defer and parameters passed to deferred function
- More defers defined in one function
- Argument evaluation in defer
- Argument evaluation in defer
- Defer in all returns
- Practical usage of defer
- Practical usage of defer
- Defer and function return values
- Usage of panic()
- Panic() and recover()
- Unary operators in Go
- Relational operators
- Divide and modulo
- Divide by zero
- Bit shift (possible negative values)
- Proper bit shifts
- Bit shifts with assignment
- Bit operators