Merge remote-tracking branch 'origin' into change-detection
This commit is contained in:
commit
6cad5a8efb
40 changed files with 882 additions and 170 deletions
|
|
@ -95,12 +95,14 @@ var currencyToSymbol = map[string]string{
|
|||
}
|
||||
|
||||
type Stock struct {
|
||||
Name string
|
||||
Symbol string
|
||||
Currency string
|
||||
Price float64
|
||||
PercentChange float64
|
||||
SvgChartPoints string
|
||||
Name string `yaml:"name"`
|
||||
Symbol string `yaml:"symbol"`
|
||||
ChartLink string `yaml:"chart-link"`
|
||||
SymbolLink string `yaml:"symbol-link"`
|
||||
Currency string `yaml:"-"`
|
||||
Price float64 `yaml:"-"`
|
||||
PercentChange float64 `yaml:"-"`
|
||||
SvgChartPoints string `yaml:"-"`
|
||||
}
|
||||
|
||||
type Stocks []Stock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue