From 78f2609461e31bbec1ecc23c8f4ee2c8926c48b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Og=C3=B3rek?= Date: Thu, 11 Jul 2019 22:44:44 +0200 Subject: [PATCH] docs: Remove go version from the install step --- .../error-reporting/getting-started-install/go.md | 6 ------ src/collections/_documentation/platforms/go/index.md | 8 +------- src/collections/_documentation/platforms/go/migration.md | 2 +- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/collections/_documentation/error-reporting/getting-started-install/go.md b/src/collections/_documentation/error-reporting/getting-started-install/go.md index fdd212726d8c7..24930eebf6bed 100644 --- a/src/collections/_documentation/error-reporting/getting-started-install/go.md +++ b/src/collections/_documentation/error-reporting/getting-started-install/go.md @@ -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 %} -``` diff --git a/src/collections/_documentation/platforms/go/index.md b/src/collections/_documentation/platforms/go/index.md index 4625c1bdeab73..69c55591c0c5c 100644 --- a/src/collections/_documentation/platforms/go/index.md +++ b/src/collections/_documentation/platforms/go/index.md @@ -24,18 +24,12 @@ Getting started with Sentry is a three step process: ## 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. diff --git a/src/collections/_documentation/platforms/go/migration.md b/src/collections/_documentation/platforms/go/migration.md index 8b6764941bdc2..611376aacce97 100644 --- a/src/collections/_documentation/platforms/go/migration.md +++ b/src/collections/_documentation/platforms/go/migration.md @@ -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