Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CollectQueryLogger ¶
type CollectQueryLogger struct {
Queries []CollectedQuery
}
func (*CollectQueryLogger) LogQuery ¶
func (l *CollectQueryLogger) LogQuery(_ context.Context, q string, a []any)
func (*CollectQueryLogger) Reset ¶
func (l *CollectQueryLogger) Reset()
type CollectedQuery ¶
type TestQueryLogger ¶
type TestQueryLogger struct {
TestingT
}
Click to show internal directories.
Click to hide internal directories.