Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestMysqld ¶
type TestMysqld struct {
Server *mt.TestMysqld
}
func New ¶
func New(dir string) (*TestMysqld, error)
New function launch new MySQL instance with default settings, and deploy SQLs in `dir` by `goose` automatically.
func (*TestMysqld) Dns ¶
func (t *TestMysqld) Dns() string
Dns returns connection info for mymysql driver
Click to show internal directories.
Click to hide internal directories.