Skip to content

Commit

Permalink
[Go] Slim down SDK installation step (#11362)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric authored Sep 14, 2024
1 parent bb54a44 commit f59c169
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions platform-includes/getting-started-install/go.mdx
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
When using Go Modules, you do not need to install anything to start using Sentry with your Go program. Import the SDK and the `go` tool will automatically download the latest version of the SDK when you next build your program.

```go
import (
"github.com/getsentry/sentry-go"
)
```

With or without Go Modules, to use the latest version of the SDK, run:
Install our Go SDK using `go get`:

```shell
go get github.com/getsentry/sentry-go
```

Consult the [Go documentation on Modules](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies) for more information on how to manage dependencies.
Consult the [Go documentation](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies) for more information on how to manage your dependencies.

0 comments on commit f59c169

Please sign in to comment.