To declare variables that can be accessed globally throughout the program.
To defer the execution of a function until the surrounding function returns.
To handle errors gracefully within a function.
To specify the data type of a variable.
Goroutines are similar to threads in other programming languages.
Goroutines are executed sequentially.
Goroutines are heavyweight and consume a lot of memory.
Goroutines cannot communicate with each other.
To store key-value pairs.
To represent a resizable array.
To define a block of code to be executed later.
To perform arithmetic operations.
new
make
struct
instance