A gap buffer in Go.