1. 3
    Append Elements to a Slice in Go
    6m 55s

Append Elements to a Slice in Go

InstructorJeff Roberts

Share this video with your friends

Send Tweet

There is a built-in append function that is used to append elements to a slice. We'll see in this lesson that the append function works only with slices, not arrays. There are also some nifty alternate uses of the the append function that make appending super easy.

Checkout the sample code in my github repo.