collector

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL