You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,19 +19,19 @@ Install the SDK using the following command (The SDK's non-testing dependencies
19
19
Use `go get` to retrieve the SDK to add it to your `GOPATH` workspace:
20
20
21
21
```
22
-
go get github.com/aws/aws-xray-sdk-go
22
+
go get github.com/aws/aws-xray-sdk-go/v2
23
23
```
24
24
25
25
To update the SDK, use `go get -u` to retrieve the latest version of the SDK.
26
26
27
27
```
28
-
go get -u github.com/aws/aws-xray-sdk-go
28
+
go get -u github.com/aws/aws-xray-sdk-go/v2
29
29
```
30
30
31
31
If you also want to install SDK's testing dependencies. They can be installed using:
32
32
33
33
```
34
-
go get -u -t github.com/aws/aws-xray-sdk-go/...
34
+
go get -u -t github.com/aws/aws-xray-sdk-go/v2/...
35
35
```
36
36
37
37
## Installing using Go Modules
@@ -41,7 +41,7 @@ The latest version of the SDK is the recommended version.
41
41
If you are using Go 1.11 and above, you can install the SDK using Go Modules (in project's go.mod), like so:
42
42
43
43
```
44
-
go get github.com/aws/aws-xray-sdk-go
44
+
go get github.com/aws/aws-xray-sdk-go/v2
45
45
```
46
46
47
47
To get a different specific release version of the SDK use `@<tag>` in your `go get` command. Also, to get the rc version use this command with the specific version.
@@ -75,7 +75,7 @@ See [aws-xray-sdk-go-sample](https://github.com/aws-samples/aws-xray-sdk-go-samp
@@ -111,14 +111,14 @@ Note that the `xray.Config{}` fields `LogLevel` and `LogFormat` are deprecated s
111
111
112
112
***Plugins***
113
113
114
-
Plugins can be loaded conditionally at runtime. For this purpose, plugins under "github.com/aws/aws-xray-sdk-go/awsplugins/" have an explicit `Init()` function. Customer must call this method to load the plugin:
114
+
Plugins can be loaded conditionally at runtime. For this purpose, plugins under "github.com/aws/aws-xray-sdk-go/v2/awsplugins/" have an explicit `Init()` function. Customer must call this method to load the plugin:
0 commit comments