Documentation ¶
Index ¶
- func IterateReports(generator ReportsGenerator, n int, cb func(report data.Report))
- type GofakeitGenerator
- func (gen GofakeitGenerator) Generate() (data.Report, error)
- func (GofakeitGenerator) GenerateImageReportPart() data.ReportPart
- func (gen GofakeitGenerator) GenerateReportPart() data.ReportPart
- func (gen GofakeitGenerator) GenerateReportParts() []data.ReportPart
- func (GofakeitGenerator) GenerateReportPeriod() data.ReportPeriod
- func (GofakeitGenerator) GenerateTextReportPart() data.ReportPart
- func (GofakeitGenerator) GenerateUser() data.User
- type ReportsGenerator
- type WikipediaGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IterateReports ¶
func IterateReports(generator ReportsGenerator, n int, cb func(report data.Report))
Types ¶
type GofakeitGenerator ¶
type GofakeitGenerator struct{}
func (GofakeitGenerator) GenerateImageReportPart ¶
func (GofakeitGenerator) GenerateImageReportPart() data.ReportPart
func (GofakeitGenerator) GenerateReportPart ¶
func (gen GofakeitGenerator) GenerateReportPart() data.ReportPart
func (GofakeitGenerator) GenerateReportParts ¶
func (gen GofakeitGenerator) GenerateReportParts() []data.ReportPart
func (GofakeitGenerator) GenerateReportPeriod ¶
func (GofakeitGenerator) GenerateReportPeriod() data.ReportPeriod
func (GofakeitGenerator) GenerateTextReportPart ¶
func (GofakeitGenerator) GenerateTextReportPart() data.ReportPart
func (GofakeitGenerator) GenerateUser ¶
func (GofakeitGenerator) GenerateUser() data.User
type ReportsGenerator ¶
type WikipediaGenerator ¶
Click to show internal directories.
Click to hide internal directories.