Go - Slice

Management

Add to last

mySlice []string
mySlice = append(mySlice, "Yo")

Remove last

mySlice = mySlice [:len(mySlice )-1]

Powered by ComboStrap