Length vs Capacity in Golang
In Go, both capacity and length are important properties when working with certain data structures like slices and maps. They serve distinct purposes and provide valuable information about the underlying data.
Length
len()
The length of a data struct...
dhawalpandya01.hashnode.dev4 min read