Basics
- Hello Foo - Println
- Hello Bar - Printf
- Hello Bar - Printf %v
- Enforce variables types
- Basic Types
- Show inferred variable type - Printf %T
- Show type of variable - reflect.TypeOf
- get variable type - %T or reflect.TypeOf
- Variable declaration (var)
- Default values of variables
- Scan input strings from STDIN
- if else statement
- Converting string to integer - strconv, Atoi
- Error Handling
- Converting string to integer with error handling - strconv, Itoa
- Converting string to float - strconv, ParseFloat
- Converting integer to string - strconv, Itoa
- Scan STDIN convert to number
- Comments
- Exercise: circle STDIN
- Exercise: rectangular STDIN
- Exercise: calculator STDIN
- Solution: circle STDIN
- Solution: circle STDIN with math
- Solution: rectangular STDIN
- Solution: calculator STDIN
- Solution: calculator STDIN switch