Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
database/sql: improve package documentation #5886
The database/sql package docs say: "Package sql provides a generic interface around SQL (or SQL-like) databases. The sql package must be used in conjunction with a database driver. See http://golang.org/s/sqldrivers for a list of drivers." And the sqldrivers wiki page is not very illuminating. Users should be able to read the package docs and come away knowing everything they need to connect their Go program to their database.
I can take this on if nobody else is currently working on it. I plan to extend the docs with an overview (using http://golang.org/src/pkg/database/sql/doc.txt as a reference), example connections, more example queries, and how to handle returned data/errors.