comments and formatting
This commit is contained in:
parent
54417bf436
commit
7ce58c03d7
@ -5,6 +5,7 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// A chart response is what we get back from Yahoo Finance
|
||||||
type chart struct {
|
type chart struct {
|
||||||
Chart struct {
|
Chart struct {
|
||||||
Result []struct {
|
Result []struct {
|
||||||
|
@ -160,6 +160,5 @@
|
|||||||
<h3 style="color:#fff";>Created by Steven Polley</h3>
|
<h3 style="color:#fff";>Created by Steven Polley</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -29,7 +29,6 @@ func homePageHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
log.Printf("error executing home.html template: %v", err)
|
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
|
// Returns status 200 if a refresh is not running, otherwise waits for refresh to finish
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Package ynab provides a very simple API client for getting account data and setting account balances.
|
||||||
package ynab
|
package ynab
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user