This repository provides the grpcsql
package, which can be used
to expose a Go SQL driver.Driver
instance over gRPC.
For example you could cross-compile a Godror gateway for every possible architecture (using xgo), and use that gateway everywhere, instead of cross-compiling your app with cgo.
The documentation for this package can be found on Godoc.