Formatting, linter and test for portfolio

This commit is contained in:
Ryan O'Hara-Reid
2017-07-26 19:17:29 +10:00
committed by Adrian Gallagher
parent 3e4fb1660d
commit f11f83fe50
7 changed files with 396 additions and 136 deletions

View File

@@ -48,7 +48,7 @@ func main() {
log.Fatal("File isn't in JSON format")
}
port := portfolio.PortfolioBase{}
port := portfolio.Base{}
port.SeedPortfolio(cfg.Portfolio)
result := port.GetPortfolioSummary("")