coopernurse/gorp — Issue #2: Probably error in documentation 
Author: dmitrykim
Created: 2012-01-12 17:30:42+00:00
State: open

In tests you use mysql driver "github.com/ziutek/mymysql/godrv". With this driver
db, err := sql.Open("mysql", "myuser:mypassword@localhost:3306/dbname") // at https://github.com/coopernurse/gorp
doesn't work.

Either documentation should be fixed to
db, err := sql.Open("mymysql", "gomysql_test/gomysql_test/abc123")
or please point at mysql driver to use for current version of documentation

And sorry, don't know how to ask other way. In docs nothing is said about multithreading. I have many goroutines. Can I share
two global variables
var db *sql.DB
var dbmap *gorp.DbMap
among goroutines ? Or should I create single dbmap per goroutine (but single db *sql.DB)? Couple of lines in documentation would be very useful