mirror of https://github.com/pressly/goose.git
11 lines
315 B
Go
11 lines
315 B
Go
package testdb
|
|
|
|
import "database/sql"
|
|
|
|
// NewClickHouse starts a ClickHouse docker container, and returns
|
|
// a connection and a cleanup function.
|
|
// If bindPort is 0,b a random port will be used.
|
|
func NewClickHouse(options ...OptionsFunc) (_ *sql.DB, cleanup func(), _ error) {
|
|
return newClickHouse(options...)
|
|
}
|