Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCyclesUntil ¶
Types ¶
type FakeAccessor ¶
type FakeAccessor struct {
*core.DBCreator
core.Fetcher
Insights []int64
ConnPair *dbconn.PooledPair
}
func NewFakeAccessor ¶
func NewFakeAccessor(t *testing.T) (acessor *FakeAccessor, clear func())
NewFakeAccessor returns an acessor that implements core.Fetcher and core.Creator using a temporary database that should be delete using clear()
func (*FakeAccessor) GenerateInsight ¶
func (c *FakeAccessor) GenerateInsight(ctx context.Context, tx *sql.Tx, properties core.InsightProperties) error
Click to show internal directories.
Click to hide internal directories.