Golang Slice Tutorial with Examples


(Golang Programs) #1

Golang Slice Tutorial with Examples


(Johan Dahl) #2

Hi. Nice but two things. You should maybe try to explain capacity and length. And the itemExist is clever but maybe a good pattern for writing a type specific version would be useful.