Documentation ¶ Index ¶ type Collector func NewCollector(stonksService StonksService) *Collector func (c *Collector) Collect(ctx context.Context, ticker string, days int, templateFilePath string, ...) error type StonksService Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Collector ¶ type Collector struct { // contains filtered or unexported fields } func NewCollector ¶ func NewCollector(stonksService StonksService) *Collector func (*Collector) Collect ¶ func (c *Collector) Collect(ctx context.Context, ticker string, days int, templateFilePath string, outFilePath string) error type StonksService ¶ type StonksService interface { Market(ctx context.Context, ticker string, days int) ([]model.Stonks, error) } Source Files ¶ View all Source files funcs.gohandler.gointerface.gotemplates.go Click to show internal directories. Click to hide internal directories.