Memory Allocation in Go: make, new and var
In Go, there are several ways to allocate and initialize memory. Pre-requisite: undertsand types in Go var Declaration When you declare a variable using var: var x int var s string var m map[string]int var sl []int * The variable is zero-valued (0 for numeric types, "" for