An alternative API to a simple heap in Go