Documentation ¶
Overview ¶
Package data containing test data
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLargeRandomGenerator ¶
func NewLargeRandomGenerator(db DatabaseService) *random
func NewSmallGenerator ¶
func NewSmallGenerator(db DatabaseService) *small
func NewUniverseGenerator ¶
func NewUniverseGenerator(db DatabaseService) *universeGenerator
NewUniverseGenerator for an in-memory database containing information about a reasonably popular sci-fi TV series.
Example ¶
var db DatabaseService NewUniverseGenerator(db).Generate()
Output:
Types ¶
type DatabaseGenerator ¶
type DatabaseGenerator interface {
Generate() DatabaseService
}
Click to show internal directories.
Click to hide internal directories.