-
Examples used in the following article Datové typy v programovacím jazyku Go (2.část)
-
This article is part of the serie about Go programming language Programovací jazyk Go
- User types declaration
- Passing user types to function
- Array with user type items
- Array with user type items with initialization
- Type check in compile time
- Type check in compile time (initialization)
- Type check in compile time for arrays
- Type check in compile time for arrays
- Structures
- Structure initialization
- Better structure initialization
- Comparison of two structures
- Array of structs
- Array of structs, second solution
- Uninitialized map
- Initialized map
- Initialized map, shorter solution
- Map of structs
- Map of structs, second solution
- Reading from maps
- Delete item from map
- Basic pointer usage
- Pointer to struct
- Pointer to struct item
- Pointer to array item
- Functions as data types
- Functions as data types
- Improper function type
- Function type
- Type in own block