In this chapter, I describe the Go standard library for working with SQL databases. These features provide an abstract representation of the capabilities offered by a database and rely on driver packages to deal with the implementation of a specific database.
There are drivers for a wide range of databases, and a list can be found at https://github.com/golang/go/wiki/sqldrivers. Database drivers are distributed as Go packages, and most databases have multiple driver packages. Some driver packages rely on cgo, which allows Go code to use C libraries, ...