Help us shape the future of Go! Take the 2026 Go Developer Survey

pkg

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Note that the driver sources are in go/driver; the infrastructure is kept here for backwards compatibility (as some consumers directly build their drivers out of this repo).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL