If I implement a queue like this...
package main import( \"fmt\" ) func PopFront(q *[]string) string { r := (*q)[0] *q = (*q)[1:len(*q)] re
Simple question, simple answer: No. (But if you keep pushing the slice will at some point overflow its underlying array then the unused elements become available to be freed.)