Is there an API to embed CockroachDB in a Go application?

I’m interested in using cockroachdb as a Go library, to avoid the cost of one more client-server network roundtrip. Is there an API for running embedded? e.g. I’d like to pass sql queries from my Go main() into cockroachdb directly. (This would also make writing tests for applications that use cockroachdb easy.)

@vivek @tamir

[original thread]

There is not currently such an API, and there are no immediate plans to introduce it.