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 Jul 10, 2024
1 parent 49e1741 commit eecc552
Show file tree
Hide file tree
Showing 73 changed files with 178 additions and 177 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
4 changes: 2 additions & 2 deletions _examples/martini/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"net/http"

sentrymartini "github.com/getsentry/sentry-go/martini"
sentrymartini "github.com/exaring/sentry-go/martini"

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

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 eecc552

Please sign in to comment.