dburl.go
func Open(urlstr string) (*sql.DB, error) {
	u, err := Parse(urlstr)
	if err != nil {
		return nil, err
	}

	return sql.Open(u.Driver, u.DSN)
}
func Open(urlstr string) (*sql.DB, error) {
	u, err := Parse(urlstr)
	if err != nil {
		return nil, err
	}

	return sql.Open(u.Driver, u.DSN)
}
func Open ( urlstr string ) ( * sql . DB , error ) { u , err := Parse ( urlstr ) if err != nil { return nil , err } return sql . Open ( u . Driver , u . DSN ) }
// Open takes a urlstr like "protocol+transport://user:pass@host/dbname?option1=a&option2=b"
// and creates a standard sql.DB connection.
//
// See Parse for information on formatting URLs to work properly with Open.
Open takes a urlstr like protocol + transport : // user : pass