Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Fix sample code in README
Browse files Browse the repository at this point in the history
In latest version, context.Context is required for Send method
  • Loading branch information
aokumasan committed Oct 18, 2019
1 parent 065c214 commit eea8612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nifcloud-sdk-go-v2 is the Developer Preview for the v2 of the NIFCLOUD SDK for t
## Installing

```sh
go get github.com/alice02/nifcloud-sdk-go-v2
go get -u github.com/alice02/nifcloud-sdk-go-v2
```

## Hello NIFCLOUD
Expand Down Expand Up @@ -36,7 +36,7 @@ func main() {
req := svc.DescribeInstancesRequest(nil)

// Send the request
resp, err := req.Send()
resp, err := req.Send(context.TODO())
if err != nil {
panic(err)
}
Expand Down

0 comments on commit eea8612

Please sign in to comment.