OpenConnector implements driver.DriverContext.
(dsn string)
| 110 | |
| 111 | // OpenConnector implements driver.DriverContext. |
| 112 | func (d MySQLDriver) OpenConnector(dsn string) (driver.Connector, error) { |
| 113 | cfg, err := ParseDSN(dsn) |
| 114 | if err != nil { |
| 115 | return nil, err |
| 116 | } |
| 117 | return newConnector(cfg), nil |
| 118 | } |
nothing calls this directly
no test coverage detected