Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Remove go version from the install step #1110

Merged
merged 1 commit into from
Jul 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,3 @@ Install our Go SDK using [`go get`](https://golang.org/cmd/go/#hdr-Module_aware_
```bash
$ go get github.com/getsentry/sentry-go
```

Or, if you are already using Go Modules, specify a version number as well:

```bash
$ go get github.com/getsentry/sentry-go@v{% sdk_version sentry.go %}
```
8 changes: 1 addition & 7 deletions src/collections/_documentation/platforms/go/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,12 @@ Getting started with Sentry is a three step process:
<!-- WIZARD -->
## Installation {#install}

sentry-go can be installed like any other Go library through `go get`:
sentry-go can be installed like any other Go library through `go get`, and if using Go Modules, it will pick up the latest tagged version:

```bash
$ go get github.com/getsentry/sentry-go
```

Or, if you are already using Go Modules, specify a version number as well:

```bash
$ go get github.com/getsentry/sentry-go@v{% sdk_version sentry.go %}
```

## Configuration {#configure}

To use `sentry-go`, you’ll need to import the `sentry-go` package and initialize it with the client options that will include your DSN. If you specify the `SENTRY_DSN` environment variable, you can omit this value from options and it will be picked up automatically for you. The release and environment can also be specified in the environment variables `SENTRY_RELEASE` and `SENTRY_ENVIRONMENT` respectively.
Expand Down
2 changes: 1 addition & 1 deletion src/collections/_documentation/platforms/go/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ go get github.com/getsentry/raven-go
sentry-go

```bash
$ go get github.com/getsentry/sentry-go@v{% sdk_version sentry.go %}
$ go get github.com/getsentry/sentry-go
```

### Configuration
Expand Down