Compare commits
No commits in common. "068004ba140620c5c6aee7d28743876537403a62" and "c4a79b0f4c58b92d335879ee1a421a67889fd92d" have entirely different histories.
068004ba14
...
c4a79b0f4c
@ -1,10 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"code.stevenpolley.net/steven/ynab-portfolio-monitor/providers/bitcoin"
|
||||
"code.stevenpolley.net/steven/ynab-portfolio-monitor/providers/questrade"
|
||||
"code.stevenpolley.net/steven/ynab-portfolio-monitor/providers/staticjsonFinnhub"
|
||||
"code.stevenpolley.net/steven/ynab-portfolio-monitor/providers/staticjsonYahooFinance"
|
||||
"deadbeef.codes/steven/ynab-portfolio-monitor/providers/bitcoin"
|
||||
"deadbeef.codes/steven/ynab-portfolio-monitor/providers/questrade"
|
||||
"deadbeef.codes/steven/ynab-portfolio-monitor/providers/staticjsonFinnhub"
|
||||
"deadbeef.codes/steven/ynab-portfolio-monitor/providers/staticjsonYahooFinance"
|
||||
)
|
||||
|
||||
// AccountProvider is the base set of requirements to be implemented for any integration
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module code.stevenpolley.net/steven/ynab-portfolio-monitor
|
||||
module deadbeef.codes/steven/ynab-portfolio-monitor
|
||||
|
||||
go 1.22
|
||||
|
||||
|
2
main.go
2
main.go
@ -7,7 +7,7 @@ import (
|
||||
"text/template"
|
||||
"time"
|
||||
|
||||
"code.stevenpolley.net/steven/ynab-portfolio-monitor/ynab"
|
||||
"deadbeef.codes/steven/ynab-portfolio-monitor/ynab"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -63,9 +63,6 @@ func (p *Provider) GetBalances() ([]int, []string, error) {
|
||||
}(goErr)
|
||||
}
|
||||
wg.Wait()
|
||||
if *goErr != nil {
|
||||
return nil, nil, *goErr
|
||||
}
|
||||
|
||||
fiatBalance, err := p.client.convertBTCToCAD(satoshiBalance)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user