We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to use clickhouse with the datadog tracing. https://pkg.go.dev/gopkg.in/DataDog/dd-trace-go.v1/contrib/database/sql
But because of driver is not exported, i am not able to register and use driver.
func init() { sql.Register("chhttp", new(chDriver)) } // chDriver implements sql.Driver interface type chDriver struct { } // Open returns new db connection func (d *chDriver) Open(dsn string) (driver.Conn, error) { cfg, err := ParseDSN(dsn) if err != nil { return nil, err } return newConn(cfg), nil }
Is there any reason why it is not exported?
The text was updated successfully, but these errors were encountered:
Thanks for the usecase. PR welcome to export the driver
Sorry, something went wrong.
#177 Pr is ready.
No branches or pull requests
I want to use clickhouse with the datadog tracing.
https://pkg.go.dev/gopkg.in/DataDog/dd-trace-go.v1/contrib/database/sql
But because of driver is not exported, i am not able to register and use driver.
Is there any reason why it is not exported?
The text was updated successfully, but these errors were encountered: