Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMarketName ¶
GetMarketName returns the document's market name
Types ¶
type Fetcher ¶
type Fetcher interface { // IsMarket returns whether the fetcher supports the document IsMarket(doc *goquery.Document) bool // Fetch parses the document and returns a parsed Stock model Fetch(doc *goquery.Document, symbol string) (*model.Stock, error) }
func SelectFetcher ¶
SelectFetcher returns fetcher that can parse the document
Click to show internal directories.
Click to hide internal directories.