Skip to content

Commit

Permalink
Replace godoc.org with pkg.go.dev (#9690)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribice committed Apr 12, 2024
1 parent c77818d commit 378308f
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions docs/platforms/go/guides/echo/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ For a quick reference, there is a [complete
example](https://github.com/getsentry/sentry-go/tree/master/_examples/echo) at the
Go SDK source code repository.

[GoDoc-style API
documentation](https://godoc.org/github.com/getsentry/sentry-go/echo) is also
[Go Dev-style API
documentation](https://pkg.go.dev/github.com/getsentry/sentry-go/echo) is also
available.

## Install
Expand Down Expand Up @@ -83,7 +83,7 @@ Timeout time.Duration

## Usage

`sentryecho` attaches an instance of `*sentry.Hub` (https://godoc.org/github.com/getsentry/sentry-go#Hub) to the `echo.Context`, which makes it available throughout the rest of the request's lifetime.
`sentryecho` attaches an instance of `*sentry.Hub` (https://pkg.go.dev/github.com/getsentry/sentry-go#Hub) to the `echo.Context`, which makes it available throughout the rest of the request's lifetime.
You can access it by using the `sentryecho.GetHubFromContext()` method on the context itself in any of your proceeding middleware and routes.
And it should be used instead of the global `sentry.CaptureMessage`, `sentry.CaptureException` or any other calls, as it keeps the separation of data between the requests.

Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/go/guides/fasthttp/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ For a quick reference, there is a [complete
example](https://github.com/getsentry/sentry-go/tree/master/_examples/fasthttp)
available directly at the Go SDK source code repository.

[GoDoc-style API
documentation](https://godoc.org/github.com/getsentry/sentry-go/fasthttp) is also
[Go Dev-style API
documentation](https://pkg.go.dev/github.com/getsentry/sentry-go/fasthttp) is also
available.

## Install
Expand Down Expand Up @@ -81,7 +81,7 @@ Timeout time.Duration

## Usage

`sentryfasthttp` attaches an instance of `*sentry.Hub` (https://godoc.org/github.com/getsentry/sentry-go#Hub) to the request's context, which makes it available throughout the rest of the request's lifetime.
`sentryfasthttp` attaches an instance of `*sentry.Hub` (https://pkg.go.dev/github.com/getsentry/sentry-go#Hub) to the request's context, which makes it available throughout the rest of the request's lifetime.
You can access it by using the `sentryfasthttp.GetHubFromContext()` method on the context itself in any of your proceeding middleware and routes.
And it should be used instead of the global `sentry.CaptureMessage`, `sentry.CaptureException`, or any other calls, as it keeps the separation of data between the requests.

Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/go/guides/gin/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ For a quick reference, there is a [complete
example](https://github.com/getsentry/sentry-go/tree/master/_examples/gin) at the
Go SDK source code repository.

[GoDoc-style API
documentation](https://godoc.org/github.com/getsentry/sentry-go/gin) is also
[Go Dev-style API
documentation](https://pkg.go.dev/github.com/getsentry/sentry-go/gin) is also
available.

## Install
Expand Down Expand Up @@ -80,7 +80,7 @@ Timeout time.Duration

## Usage

`sentrygin` attaches an instance of `*sentry.Hub` (https://godoc.org/github.com/getsentry/sentry-go#Hub) to the `*gin.Context`, which makes it available throughout the rest of the request's lifetime.
`sentrygin` attaches an instance of `*sentry.Hub` (https://pkg.go.dev/github.com/getsentry/sentry-go#Hub) to the `*gin.Context`, which makes it available throughout the rest of the request's lifetime.
You can access it by using the `sentrygin.GetHubFromContext()` method on the context itself in any of your proceeding middleware and routes.
And it should be used instead of the global `sentry.CaptureMessage`, `sentry.CaptureException`, or any other calls, as it keeps the separation of data between the requests.

Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/go/guides/http/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ For a quick reference, there is a [complete
example](https://github.com/getsentry/sentry-go/tree/master/_examples/http) at the
Go SDK source code repository.

[GoDoc-style API
documentation](https://godoc.org/github.com/getsentry/sentry-go/http) is also
[Go Dev-style API
documentation](https://pkg.go.dev/github.com/getsentry/sentry-go/http) is also
available.

## Install
Expand Down Expand Up @@ -81,7 +81,7 @@ Timeout time.Duration

## Usage

`sentryhttp` attaches an instance of `*sentry.Hub` (https://godoc.org/github.com/getsentry/sentry-go#Hub) to the request's context, which makes it available throughout the rest of the request's lifetime.
`sentryhttp` attaches an instance of `*sentry.Hub` (https://pkg.go.dev/github.com/getsentry/sentry-go#Hub) to the request's context, which makes it available throughout the rest of the request's lifetime.
You can access it by using the `sentry.GetHubFromContext()` method on the request itself in any of your proceeding middleware and routes.
And it should be used instead of the global `sentry.CaptureMessage`, `sentry.CaptureException`, or any other calls, as it keeps the separation of data between the requests.

Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/go/guides/iris/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ For a quick reference, there is a [complete
example](https://github.com/getsentry/sentry-go/tree/master/_examples/iris) at the
Go SDK source code repository.

[GoDoc-style API
documentation](https://godoc.org/github.com/getsentry/sentry-go/iris) is also
[Go Dev-style API
documentation](https://pkg.go.dev/github.com/getsentry/sentry-go/iris) is also
available.

## Install
Expand Down Expand Up @@ -79,7 +79,7 @@ Timeout time.Duration

## Usage

`sentryiris` attaches an instance of `*sentry.Hub` (https://godoc.org/github.com/getsentry/sentry-go#Hub) to the `iris.Context`, which makes it available throughout the rest of the request's lifetime.
`sentryiris` attaches an instance of `*sentry.Hub` (https://pkg.go.dev/github.com/getsentry/sentry-go#Hub) to the `iris.Context`, which makes it available throughout the rest of the request's lifetime.
You can access it by using the `sentryiris.GetHubFromContext()` method on the context itself in any of your proceeding middleware and routes.
And it should be used instead of the global `sentry.CaptureMessage`, `sentry.CaptureException`, or any other calls, as it keeps the separation of data between the requests.

Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/go/guides/martini/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ For a quick reference, there is a [complete
example](https://github.com/getsentry/sentry-go/tree/master/_examples/martini) at the
Go SDK source code repository.

[GoDoc-style API
documentation](https://godoc.org/github.com/getsentry/sentry-go/martini) is also
[Go Dev-style API
documentation](https://pkg.go.dev/github.com/getsentry/sentry-go/martini) is also
available.

## Installation
Expand Down Expand Up @@ -79,7 +79,7 @@ Timeout time.Duration

## Usage

`sentrymartini` maps an instance of `*sentry.Hub` (https://godoc.org/github.com/getsentry/sentry-go#Hub) as one of the services available throughout the rest of the request's lifetime.
`sentrymartini` maps an instance of `*sentry.Hub` (https://pkg.go.dev/github.com/getsentry/sentry-go#Hub) as one of the services available throughout the rest of the request's lifetime.
You can access it by providing a `hub *sentry.Hub` parameter in any of your proceeding middleware and routes.
And it should be used instead of the global `sentry.CaptureMessage`, `sentry.CaptureException`, or any other calls, as it keeps the separation of data between the requests.

Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/go/guides/negroni/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ For a quick reference, there is a [complete
example](https://github.com/getsentry/sentry-go/tree/master/_examples/negroni) at the
Go SDK source code repository.

[GoDoc-style API
documentation](https://godoc.org/github.com/getsentry/sentry-go/negroni) is also
[Go Dev-style API
documentation](https://pkg.go.dev/github.com/getsentry/sentry-go/negroni) is also
available.

## Install
Expand Down Expand Up @@ -84,7 +84,7 @@ Timeout time.Duration

## Usage

`sentrynegroni` attaches an instance of `*sentry.Hub` (https://godoc.org/github.com/getsentry/sentry-go#Hub) to the request's context, which makes it available throughout the rest of the request's lifetime.
`sentrynegroni` attaches an instance of `*sentry.Hub` (https://pkg.go.dev/github.com/getsentry/sentry-go#Hub) to the request's context, which makes it available throughout the rest of the request's lifetime.
You can access it by using the `sentry.GetHubFromContext()` method on the request itself in any of your proceeding middleware and routes.
And it should be used instead of the global `sentry.CaptureMessage`, `sentry.CaptureException`, or any other calls, as it keeps the separation of data between the requests.

Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/go/legacy-sdk/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ Resources:

- [Bug Tracker](https://github.com/getsentry/raven-go/issues)
- [GitHub Project](https://github.com/getsentry/raven-go)
- [Godocs](https://godoc.org/github.com/getsentry/raven-go)
- [Go Devs](https://pkg.go.dev/github.com/getsentry/raven-go)

0 comments on commit 378308f

Please sign in to comment.