-
Examples used in the following article Go: minimalistický a překvapivě výkonný programovací jazyk
-
This article is part of the serie about Go programming language Programovací jazyk Go
- The simplest form of Hello world example
- A slightly better form of Hello world example based on "fmt" package
- Check for unused imports
- Unicode characters handling
- Basic type inference
- Check for variable redeclarations
- Correct variable reassign
- Check for changing type of variables
- Simple function declaration
- Function with one parameter
- Return statement in functions
- Named return variable
- Simple sum function
- Function with two return values (first variant)
- Function with two return values (second variant)
- Return not at the end of function