This is a golang tutorial codes, all codes find on https://golangbot.com website.
- Introduction and Installation - installation
- Hello World - hello
- Variables - variables
- Types - types
- Constants - constants
- Functions - functions
- Packages - packages
- If else statement - ifelsestatement
- Loops - loops
- Switch Statement - switch
- Arrays and Slices - array&slices
- Variadic Functions - variadicfunctions
- Maps - maps
- Strings - strings
- Pointers - pointers
- Structures - structures
- Methods - methods
- Interface I - interface-i
- Interface II - interface-ii
- Introduction to Concurrency - concurrency
- Goroutines - goroutines
- Channels - channels
- Buffered Channels and Worker Pools - bufferedchannel
- Select - select
- Mutex - mutex
- Structs Instead of Classes - structsInsteadOfClasses
- Composition Instead of Inheritance - compositioninsteadofinheritance
- Polymorphism - polymorphism
- Defer - defer
- Error Handling - error
- Custom Errors - customerrors
- Panic and Recover - panicrecover
- First Class Functions - firstclassfunctions
- Reflection - reflection