Golang circular (ring) buffer