Answers for "golang how to initialize an empty slice"

Go
0

how to initialize a slice in go

letters := []string{"a", "b", "c", "d"}
Posted by: Guest on August-24-2021

Browse Popular Code Answers by Language