MCPcopy
hub / github.com/go-gorm/gorm / testDialector

Struct testDialector

tests/chainable_api_test.go:13–13  ·  view source on GitHub ↗

testDialector is a minimal Dialector implementation used only for unit tests in-memory.

Source from the content-addressed store, hash-verified

11
12// testDialector is a minimal Dialector implementation used only for unit tests in-memory.
13type testDialector struct{}
14
15func (d testDialector) Name() string { return "test" }
16func (d testDialector) Initialize(*gorm.DB) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected