(t testing.TB, opts ...driver.OptionsModifier)
| 52 | } |
| 53 | |
| 54 | func NewRegistryMemory(t testing.TB, opts ...driver.OptionsModifier) *driver.RegistrySQL { |
| 55 | return NewRegistrySQLFromURL(t, dbal.NewSQLiteTestDatabase(t), true, true, opts...) |
| 56 | } |
| 57 | |
| 58 | func NewRegistrySQLFromURL(t testing.TB, dsn string, migrate, initNetwork bool, opts ...driver.OptionsModifier) *driver.RegistrySQL { |
| 59 | configOpts := append(ConfigDefaults, configx.WithValue(config.KeyDSN, dsn)) |