code: func NewCircularBuffer(size uint) *CircularBuffer {
  	return &CircularBuffer{
  		buffer: make([]interface{}, size),
  		size:   size,
  		avail:  make(chan bool, size),
  	}
  }
docs: // Create CircularBuffer object with a prealocated buffer of a given size.