diff --git a/providers/staticjsonYahooFinance/chart.go b/providers/staticjsonYahooFinance/chart.go index f3336ea..ae0ce26 100644 --- a/providers/staticjsonYahooFinance/chart.go +++ b/providers/staticjsonYahooFinance/chart.go @@ -5,6 +5,7 @@ import ( "net/url" ) +// A chart response is what we get back from Yahoo Finance type chart struct { Chart struct { Result []struct { diff --git a/templates/home.html b/templates/home.html index df3cdf0..25042d3 100644 --- a/templates/home.html +++ b/templates/home.html @@ -160,6 +160,5 @@

Created by Steven Polley

- \ No newline at end of file diff --git a/webServer.go b/webServer.go index e73e14a..8a89e88 100644 --- a/webServer.go +++ b/webServer.go @@ -29,7 +29,6 @@ func homePageHandler(w http.ResponseWriter, r *http.Request) { log.Printf("error executing home.html template: %v", err) } - //http.Redirect(w, r, fmt.Sprintf("https://app.ynab.com/%s", ynabClient.BudgetID), http.StatusSeeOther) } // Returns status 200 if a refresh is not running, otherwise waits for refresh to finish diff --git a/ynab/transactions.go b/ynab/transactions.go index dee45b5..0d8c092 100644 --- a/ynab/transactions.go +++ b/ynab/transactions.go @@ -1,3 +1,4 @@ +// Package ynab provides a very simple API client for getting account data and setting account balances. package ynab import (