Skip to content

Commit e112715

Browse files
committed
chore: rename module to fork
⚠️ this is only to allow using the forked version while getsentry#679 is open
1 parent 8bb6f37 commit e112715

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+197
-165
lines changed

_examples/basic/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"os"
2020
"time"
2121

22-
"github.com/getsentry/sentry-go"
22+
"github.com/exaring/sentry-go"
2323
)
2424

2525
// release is the release of this program that will be reported to Sentry.

_examples/crons/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/getsentry/sentry-go"
7+
"github.com/exaring/sentry-go"
88
)
99

1010
func runTask(monitorSlug string, duration time.Duration, shouldFail bool) {

_examples/echo/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"net/http"
66

7-
"github.com/getsentry/sentry-go"
8-
sentryecho "github.com/getsentry/sentry-go/echo"
7+
"github.com/exaring/sentry-go"
8+
sentryecho "github.com/exaring/sentry-go/echo"
99
"github.com/labstack/echo/v4"
1010
"github.com/labstack/echo/v4/middleware"
1111
)

_examples/fasthttp/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/getsentry/sentry-go"
7-
sentryfasthttp "github.com/getsentry/sentry-go/fasthttp"
6+
"github.com/exaring/sentry-go"
7+
sentryfasthttp "github.com/exaring/sentry-go/fasthttp"
88
"github.com/valyala/fasthttp"
99
)
1010

_examples/feature-showcase/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strconv"
88
"time"
99

10-
"github.com/getsentry/sentry-go"
10+
"github.com/exaring/sentry-go"
1111
)
1212

1313
func prettyPrint(v interface{}) string {

_examples/flush/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/getsentry/sentry-go"
7+
"github.com/exaring/sentry-go"
88
)
99

1010
func main() {

_examples/gin/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"net/http"
66

7-
"github.com/getsentry/sentry-go"
8-
sentrygin "github.com/getsentry/sentry-go/gin"
7+
"github.com/exaring/sentry-go"
8+
sentrygin "github.com/exaring/sentry-go/gin"
99
"github.com/gin-gonic/gin"
1010
)
1111

_examples/http/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
"sync"
2525
"time"
2626

27-
"github.com/getsentry/sentry-go"
28-
sentryhttp "github.com/getsentry/sentry-go/http"
27+
"github.com/exaring/sentry-go"
28+
sentryhttp "github.com/exaring/sentry-go/http"
2929
)
3030

3131
var addr = flag.String("addr", "127.0.0.1:3000", "bind address")

_examples/iris/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"fmt"
88
"net/http"
99

10-
"github.com/getsentry/sentry-go"
11-
sentryiris "github.com/getsentry/sentry-go/iris"
10+
"github.com/exaring/sentry-go"
11+
sentryiris "github.com/exaring/sentry-go/iris"
1212
"github.com/kataras/iris/v12"
1313
)
1414

_examples/logrus/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
"github.com/sirupsen/logrus"
1010

11-
"github.com/getsentry/sentry-go"
12-
sentrylogrus "github.com/getsentry/sentry-go/logrus"
11+
"github.com/exaring/sentry-go"
12+
sentrylogrus "github.com/exaring/sentry-go/logrus"
1313
)
1414

1515
func main() {

_examples/martini/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"net/http"
66

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

9-
"github.com/getsentry/sentry-go"
9+
"github.com/exaring/sentry-go"
1010
"github.com/go-martini/martini"
1111
)
1212

_examples/multiclient/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"log"
66

7-
"github.com/getsentry/sentry-go"
7+
"github.com/exaring/sentry-go"
88
)
99

1010
type pickleIntegration struct{}

_examples/negroni/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"net/http"
66

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

9-
"github.com/getsentry/sentry-go"
9+
"github.com/exaring/sentry-go"
1010
"github.com/urfave/negroni"
1111
)
1212

_examples/profiling/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"sync"
1414
"time"
1515

16-
"github.com/getsentry/sentry-go"
16+
"github.com/exaring/sentry-go"
1717
)
1818

1919
func main() {

_examples/recover-repanic/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"sync"
2121
"time"
2222

23-
"github.com/getsentry/sentry-go"
23+
"github.com/exaring/sentry-go"
2424
)
2525

2626
func main() {

_examples/recover/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"time"
88

9-
"github.com/getsentry/sentry-go"
9+
"github.com/exaring/sentry-go"
1010
)
1111

1212
func prettyPrint(v interface{}) string {

_examples/synctransport/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"log"
55
"time"
66

7-
"github.com/getsentry/sentry-go"
7+
"github.com/exaring/sentry-go"
88
)
99

1010
func main() {

_examples/with_extra/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"time"
77

8-
"github.com/getsentry/sentry-go"
8+
"github.com/exaring/sentry-go"
99
)
1010

1111
func prettyPrint(v interface{}) string {

client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"sync"
1515
"time"
1616

17-
"github.com/getsentry/sentry-go/internal/debug"
17+
"github.com/exaring/sentry-go/internal/debug"
1818
)
1919

2020
// The identifier of the SDK.

doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Package repository: https://github.com/getsentry/sentry-go/
2+
Package repository: https://github.com/exaring/sentry-go/
33
44
For more information about Sentry and SDK features, please have a look at the official documentation site: https://docs.sentry.io/platforms/go/
55
*/

dynamic_sampling_context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"strconv"
55
"strings"
66

7-
"github.com/getsentry/sentry-go/internal/otel/baggage"
7+
"github.com/exaring/sentry-go/internal/otel/baggage"
88
)
99

1010
const (

dynamic_sampling_context_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/getsentry/sentry-go/internal/testutils"
7+
"github.com/exaring/sentry-go/internal/testutils"
88
)
99

1010
func TestDynamicSamplingContextFromHeader(t *testing.T) {

echo/sentryecho.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"time"
77

8-
"github.com/getsentry/sentry-go"
8+
"github.com/exaring/sentry-go"
99
"github.com/labstack/echo/v4"
1010
)
1111

example_transportwithhooks_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"os"
88
"time"
99

10-
"github.com/getsentry/sentry-go"
10+
"github.com/exaring/sentry-go"
1111
)
1212

1313
// TransportWithHooks is an http.RoundTripper that wraps an existing

fasthttp/sentryfasthttp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"net/url"
1010
"time"
1111

12-
"github.com/getsentry/sentry-go"
12+
"github.com/exaring/sentry-go"
1313
"github.com/valyala/fasthttp"
1414
)
1515

fasthttp/sentryfasthttp_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/getsentry/sentry-go"
12-
sentryfasthttp "github.com/getsentry/sentry-go/fasthttp"
13-
"github.com/getsentry/sentry-go/internal/testutils"
11+
"github.com/exaring/sentry-go"
12+
sentryfasthttp "github.com/exaring/sentry-go/fasthttp"
13+
"github.com/exaring/sentry-go/internal/testutils"
1414
"github.com/google/go-cmp/cmp"
1515
"github.com/google/go-cmp/cmp/cmpopts"
1616
"github.com/valyala/fasthttp"

gin/sentrygin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"time"
1111

12-
"github.com/getsentry/sentry-go"
12+
"github.com/exaring/sentry-go"
1313
"github.com/gin-gonic/gin"
1414
)
1515

gin/sentrygin_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/getsentry/sentry-go"
14-
sentrygin "github.com/getsentry/sentry-go/gin"
15-
"github.com/getsentry/sentry-go/internal/testutils"
13+
"github.com/exaring/sentry-go"
14+
sentrygin "github.com/exaring/sentry-go/gin"
15+
"github.com/exaring/sentry-go/internal/testutils"
1616
"github.com/gin-gonic/gin"
1717
"github.com/google/go-cmp/cmp"
1818
"github.com/google/go-cmp/cmp/cmpopts"

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/getsentry/sentry-go
1+
module github.com/exaring/sentry-go
22

33
go 1.18
44

go.work

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
go 1.20
2+
3+
use (
4+
.
5+
./otel
6+
)

go.work.sum

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
2+
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
3+
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
4+
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
5+
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
6+
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
7+
github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo=
8+
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
9+
go.opentelemetry.io/otel v1.16.0/go.mod h1:vl0h9NUa1D5s1nv3A5vZOYWn8av4K8Ml6JDeHrT/bx4=
10+
go.opentelemetry.io/otel/metric v1.16.0/go.mod h1:QE47cpOmkwipPiefDwo2wDzwJrlfxxNYodqc4xnGCo4=
11+
go.opentelemetry.io/otel/sdk v1.16.0/go.mod h1:tMsIuKXuuIWPBAOrH+eHtvhTL+SntFtXF9QD68aP6p4=
12+
go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0=
13+
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
14+
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
15+
golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
16+
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
17+
golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
18+
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
19+
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
20+
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
21+
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
22+
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
23+
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
24+
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
25+
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=

helpers_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package sentry
22

33
import (
4-
"github.com/getsentry/sentry-go/internal/testutils"
4+
"github.com/exaring/sentry-go/internal/testutils"
55
)
66

77
var assertEqual = testutils.AssertEqual

http/example_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import (
44
"net/http"
55
"time"
66

7-
"github.com/getsentry/sentry-go"
8-
sentryhttp "github.com/getsentry/sentry-go/http"
7+
"github.com/exaring/sentry-go"
8+
sentryhttp "github.com/exaring/sentry-go/http"
99
)
1010

1111
// For a longer and executable example, see
12-
// https://github.com/getsentry/sentry-go/tree/master/_examples/http.
12+
// https://github.com/exaring/sentry-go/tree/master/_examples/http.
1313
func Example() {
1414
// Initialize the Sentry SDK once in the main function.
1515
// sentry.Init(...)

http/sentryhttp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"time"
1010

11-
"github.com/getsentry/sentry-go"
11+
"github.com/exaring/sentry-go"
1212
)
1313

1414
// The identifier of the Gin SDK.

http/sentryhttp_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/getsentry/sentry-go"
13-
sentryhttp "github.com/getsentry/sentry-go/http"
14-
"github.com/getsentry/sentry-go/internal/testutils"
12+
"github.com/exaring/sentry-go"
13+
sentryhttp "github.com/exaring/sentry-go/http"
14+
"github.com/exaring/sentry-go/internal/testutils"
1515
"github.com/google/go-cmp/cmp"
1616
"github.com/google/go-cmp/cmp/cmpopts"
1717
)

0 commit comments

Comments
 (0)