Finishing Market News Get call

This commit is contained in:
2020-01-21 19:14:37 -05:00
parent 5b916d7738
commit 466b69d3a7
+3 -2
View File
@@ -148,8 +148,9 @@ func (c *AllyApi) MarketNewsSearch(maxhits int, symbols ...string) (resp MarketN
return
}
func (c *AllyApi) MarketNewsGet(id string) {
func (c *AllyApi) MarketNewsGet(id string) (resp MarketNewsGetResponse) {
c.marshalInterfaceResponse("market/news/#{id}", &resp)
return
}
func (c *AllyApi) marshalWithQuery(p string, v url.Values, i interface{}) {