Skip to content

Instantly share code, notes, and snippets.

@renanbastos93
Created January 10, 2022 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renanbastos93/ccb8cd36c2d29d4d4db7ff93cd5223d8 to your computer and use it in GitHub Desktop.
Save renanbastos93/ccb8cd36c2d29d4d4db7ff93cd5223d8 to your computer and use it in GitHub Desktop.
func useAppendWithoutLength() {
var arr = []int{}
for i := 0; i < size; i++ {
arr = append(arr, i)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment