Skip to content

Commit

Permalink
chore: fork
Browse files Browse the repository at this point in the history
This is a fork based on this branch:
getsentry#679
  • Loading branch information
costela committed Aug 13, 2024
1 parent 92bb309 commit 2a50e53
Show file tree
Hide file tree
Showing 71 changed files with 175 additions and 174 deletions.
2 changes: 1 addition & 1 deletion _examples/basic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"os"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

// release is the release of this program that will be reported to Sentry.
Expand Down
2 changes: 1 addition & 1 deletion _examples/crons/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func runTask(monitorSlug string, duration time.Duration, shouldFail bool) {
Expand Down
4 changes: 2 additions & 2 deletions _examples/echo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"net/http"

"github.com/getsentry/sentry-go"
sentryecho "github.com/getsentry/sentry-go/echo"
"github.com/exaring/sentry-go"
sentryecho "github.com/exaring/sentry-go/echo"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
)
Expand Down
4 changes: 2 additions & 2 deletions _examples/fasthttp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/getsentry/sentry-go"
sentryfasthttp "github.com/getsentry/sentry-go/fasthttp"
"github.com/exaring/sentry-go"
sentryfasthttp "github.com/exaring/sentry-go/fasthttp"
"github.com/valyala/fasthttp"
)

Expand Down
2 changes: 1 addition & 1 deletion _examples/feature-showcase/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func prettyPrint(v interface{}) string {
Expand Down
4 changes: 2 additions & 2 deletions _examples/fiber/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"fmt"

"github.com/getsentry/sentry-go"
sentryfiber "github.com/getsentry/sentry-go/fiber"
"github.com/exaring/sentry-go"
sentryfiber "github.com/exaring/sentry-go/fiber"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion _examples/flush/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions _examples/gin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"net/http"

"github.com/getsentry/sentry-go"
sentrygin "github.com/getsentry/sentry-go/gin"
"github.com/exaring/sentry-go"
sentrygin "github.com/exaring/sentry-go/gin"
"github.com/gin-gonic/gin"
)

Expand Down
4 changes: 2 additions & 2 deletions _examples/http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"sync"
"time"

"github.com/getsentry/sentry-go"
sentryhttp "github.com/getsentry/sentry-go/http"
"github.com/exaring/sentry-go"
sentryhttp "github.com/exaring/sentry-go/http"
)

var addr = flag.String("addr", "127.0.0.1:3000", "bind address")
Expand Down
4 changes: 2 additions & 2 deletions _examples/iris/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"fmt"
"net/http"

"github.com/getsentry/sentry-go"
sentryiris "github.com/getsentry/sentry-go/iris"
"github.com/exaring/sentry-go"
sentryiris "github.com/exaring/sentry-go/iris"
"github.com/kataras/iris/v12"
)

Expand Down
4 changes: 2 additions & 2 deletions _examples/logrus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/sirupsen/logrus"

"github.com/getsentry/sentry-go"
sentrylogrus "github.com/getsentry/sentry-go/logrus"
"github.com/exaring/sentry-go"
sentrylogrus "github.com/exaring/sentry-go/logrus"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/multiclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

type pickleIntegration struct{}
Expand Down
4 changes: 2 additions & 2 deletions _examples/negroni/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"net/http"

sentrynegroni "github.com/getsentry/sentry-go/negroni"
sentrynegroni "github.com/exaring/sentry-go/negroni"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
"github.com/urfave/negroni"
)

Expand Down
2 changes: 1 addition & 1 deletion _examples/profiling/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"sync"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/recover-repanic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"sync"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/recover/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func prettyPrint(v interface{}) string {
Expand Down
2 changes: 1 addition & 1 deletion _examples/synctransport/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/with_extra/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

func prettyPrint(v interface{}) string {
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"sync"
"time"

"github.com/getsentry/sentry-go/internal/debug"
"github.com/exaring/sentry-go/internal/debug"
)

// The identifier of the SDK.
Expand Down
2 changes: 1 addition & 1 deletion dynamic_sampling_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strconv"
"strings"

"github.com/getsentry/sentry-go/internal/otel/baggage"
"github.com/exaring/sentry-go/internal/otel/baggage"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion dynamic_sampling_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

"github.com/getsentry/sentry-go/internal/testutils"
"github.com/exaring/sentry-go/internal/testutils"
)

func TestDynamicSamplingContextFromHeader(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions echo/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/getsentry/sentry-go"
sentryecho "github.com/getsentry/sentry-go/echo"
"github.com/exaring/sentry-go"
sentryecho "github.com/exaring/sentry-go/echo"
"github.com/labstack/echo/v4"
)

Expand Down
2 changes: 1 addition & 1 deletion echo/sentryecho.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
"github.com/labstack/echo/v4"
)

Expand Down
6 changes: 3 additions & 3 deletions echo/sentryecho_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"
"time"

"github.com/getsentry/sentry-go"
sentryecho "github.com/getsentry/sentry-go/echo"
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/exaring/sentry-go"
sentryecho "github.com/exaring/sentry-go/echo"
"github.com/exaring/sentry-go/internal/testutils"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/labstack/echo/v4"
Expand Down
2 changes: 1 addition & 1 deletion example_transportwithhooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

// TransportWithHooks is an http.RoundTripper that wraps an existing
Expand Down
2 changes: 1 addition & 1 deletion fasthttp/sentryfasthttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/url"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
"github.com/valyala/fasthttp"
)

Expand Down
6 changes: 3 additions & 3 deletions fasthttp/sentryfasthttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"
"time"

"github.com/getsentry/sentry-go"
sentryfasthttp "github.com/getsentry/sentry-go/fasthttp"
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/exaring/sentry-go"
sentryfasthttp "github.com/exaring/sentry-go/fasthttp"
"github.com/exaring/sentry-go/internal/testutils"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/valyala/fasthttp"
Expand Down
2 changes: 1 addition & 1 deletion fiber/sentryfiber.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/utils"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions fiber/sentryfiber_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (

"github.com/gofiber/fiber/v2"

"github.com/getsentry/sentry-go"
sentryfiber "github.com/getsentry/sentry-go/fiber"
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/exaring/sentry-go"
sentryfiber "github.com/exaring/sentry-go/fiber"
"github.com/exaring/sentry-go/internal/testutils"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
)
Expand Down
2 changes: 1 addition & 1 deletion gin/sentrygin.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
"github.com/gin-gonic/gin"
)

Expand Down
6 changes: 3 additions & 3 deletions gin/sentrygin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"
"time"

"github.com/getsentry/sentry-go"
sentrygin "github.com/getsentry/sentry-go/gin"
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/exaring/sentry-go"
sentrygin "github.com/exaring/sentry-go/gin"
"github.com/exaring/sentry-go/internal/testutils"
"github.com/gin-gonic/gin"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/getsentry/sentry-go
module github.com/exaring/sentry-go

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion helpers_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package sentry

import (
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/exaring/sentry-go/internal/testutils"
)

var assertEqual = testutils.AssertEqual
Expand Down
4 changes: 2 additions & 2 deletions http/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"net/http"
"time"

"github.com/getsentry/sentry-go"
sentryhttp "github.com/getsentry/sentry-go/http"
"github.com/exaring/sentry-go"
sentryhttp "github.com/exaring/sentry-go/http"
)

// For a longer and executable example, see
Expand Down
2 changes: 1 addition & 1 deletion http/sentryhttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
)

// The identifier of the HTTP SDK.
Expand Down
6 changes: 3 additions & 3 deletions http/sentryhttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"testing"
"time"

"github.com/getsentry/sentry-go"
sentryhttp "github.com/getsentry/sentry-go/http"
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/exaring/sentry-go"
sentryhttp "github.com/exaring/sentry-go/http"
"github.com/exaring/sentry-go/internal/testutils"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/stretchr/testify/assert"
Expand Down
Loading

0 comments on commit 2a50e53

Please sign in to comment.