Ian Lance Taylor talks about adding the append function. When the Go language was first publicly released it contained a package named container/vector. The type
vector.Vector was a name for the type
Vector supported methods like
Pop, and several more. You can see the source code at on Github. An interesting aspect of the package is that
int versions of
Vector were automatically generated by copying the file vector.go with edits applied by gofmt -r.
to comment or vote on this story