≡ Menu

GoLang Array Slice

Slice is an essential component of Go programming language. When writing a go program, for most common use-cases, you’ll be using slice instead of array. An array is fixed in size. But slices can be dynamic. The number of elements in a slice can grow dynamically. But, keep in mind that slice uses array in [...]

{ 0 comments }

To get a good handle on Go programming language, it is essential to understanding arrays and slices. If you are developer, or sysadmin who is new to Go, it is important to understand the following key differences in how array is handled in Go when compared to other language: You cannot change the size of [...]

{ 2 comments }