Golang Circular Buffer