Documentation ¶
Overview ¶
Package pkg contains CGO based drivers that can be compiled to shared-libraries via go build -buildmode=c-shared.
By implementing it in terms of the adbc interfaces, a template has been created to make it very easy to generate new drivers. These templates are in the _tmpl folder. A mainprog defined in ./gen can be utilized to generate a new driver by providing a function prefix and the path to the driver package.
These generations are added here using go generate to make it easy to generate all drivers via a single `go generate` command.
Click to show internal directories.
Click to hide internal directories.