Skip to content

Commit

Permalink
Updated example to not use context
Browse files Browse the repository at this point in the history
  • Loading branch information
iszak committed Feb 14, 2019
1 parent 30267d4 commit 56b315d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/gen/gen.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package gen

import (
"context"
"encoding/xml"
"time"

Expand Down Expand Up @@ -40,7 +39,7 @@ func NewStockQuotePortType(client *soap.Client) StockQuotePortType {

func (service *stockQuotePortType) GetLastTradePrice(request *TradePriceRequest) (*TradePrice, error) {
response := new(TradePrice)
err := service.client.Call(context.Background(), "http://example.com/GetLastTradePrice", request, response)
err := service.client.Call("http://example.com/GetLastTradePrice", request, response)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 56b315d

Please sign in to comment.