Documentation
¶
Overview ¶
Package examples provides some common code for sqlh examples and tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
SentinalTime is a set time value used to generate times.
Functions ¶
Types ¶
type TimeGenerator ¶ added in v0.5.0
type TimeGenerator struct {
// contains filtered or unexported fields
}
TimeGenerator uses SentinalTime to return deterministic time values.
func (*TimeGenerator) Next ¶ added in v0.5.0
func (tg *TimeGenerator) Next() time.Time
Next returns the next time.Time.
Click to show internal directories.
Click to hide internal directories.