Hi, I have a question about the "database/sql" package. Why doesn't the "Open" function take the "driver.Driver" interface instead of the driver name? like this: func Open(driveri driver.Driver, dataSourceName string <https://pkg.go.dev/builtin#string>) (*DB <https://pkg.go.dev/database/sql#DB>, error <https://pkg.go.dev/builtin#error>)
what's the reason? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/9fad2844-253e-436c-9495-2f44394cc1b0n%40googlegroups.com.