Skip to content

Commit

Permalink
Merge pull request #8 from piquette/develop
Browse files Browse the repository at this point in the history
Fixes chart interface panic
  • Loading branch information
ackleymi authored Aug 30, 2018
2 parents d2ada33 + ff1b483 commit 1cd0201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ env:
- FINANCE_MOCK_VERSION=0.0.5

go:
- "1.9"
- "1.10"
- tip

Expand Down
4 changes: 2 additions & 2 deletions chart/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ func (i *Iter) Bar() *finance.ChartBar {

// Meta returns the chart metadata
// related to a chart response.
func (i *Iter) Meta() *finance.ChartMeta {
return i.Iter.Meta().(*finance.ChartMeta)
func (i *Iter) Meta() finance.ChartMeta {
return i.Iter.Meta().(finance.ChartMeta)
}

// Get returns a historical chart.
Expand Down

0 comments on commit 1cd0201

Please sign in to comment.