-
Printing Hello World
-
Variables and main Types
- Main types are :
- string
- bool
- int
- int int8 int16 int32 int64
- uint uint8 uint16 uint32 uint64 uintptr (non-negative number)
- byte - alias of uint8
- rune - alias of uint32
- float32 float 64
- complex64 complex28 (really large numbers)
- Packages
- math
- creating own packages like strutil(string utility using reverse)
- Functions
- string function
- int function
- Array Slice
- declaring array and assigning values by using shorthand method
- using different array methods like len() and substring[a:b]
- Conditionals Statements
- if - else
- else if
- Switch
- map
- declaring and assigning values
- deleting values
- range
- Looping ids using range
- Adding ids
- Using range with map
-
pointer(*)
-
structs
- created variables
- created method(value receiver and pointer receiver)
-
Interfaces
-
web