The database/sql and database/sql/driver packages are designed for using databases from Go and implementing database drivers, respectively.
See the design goals doc:
Drivers for Go's sql package include:
[*][*][*][**][*]Drivers marked with [*] are both included in and pass the compatibility test suite at https://github.com/bradfitz/go-sql-test.
Drivers marked with [**] pass the compatibility test suite but are not currently included in it.