Skip to content

Commit

Permalink
chore: rename module to fork
Browse files Browse the repository at this point in the history
⚠️ this is only to allow using the forked version while getsentry#679 is open
  • Loading branch information
costela committed Sep 25, 2023
1 parent 8bb6f37 commit e112715
Show file tree
Hide file tree
Showing 71 changed files with 197 additions and 165 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 @@ -4,8 +4,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 @@ -3,8 +3,8 @@ package main
import (
"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
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 @@ -7,8 +7,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 doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Package repository: https://github.com/getsentry/sentry-go/
Package repository: https://github.com/exaring/sentry-go/
For more information about Sentry and SDK features, please have a look at the official documentation site: https://docs.sentry.io/platforms/go/
*/
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
2 changes: 1 addition & 1 deletion echo/sentryecho.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"github.com/getsentry/sentry-go"
"github.com/exaring/sentry-go"
"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 @@ -8,9 +8,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 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
6 changes: 6 additions & 0 deletions go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
go 1.20

use (
.
./otel
)
25 changes: 25 additions & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.opentelemetry.io/otel v1.16.0/go.mod h1:vl0h9NUa1D5s1nv3A5vZOYWn8av4K8Ml6JDeHrT/bx4=
go.opentelemetry.io/otel/metric v1.16.0/go.mod h1:QE47cpOmkwipPiefDwo2wDzwJrlfxxNYodqc4xnGCo4=
go.opentelemetry.io/otel/sdk v1.16.0/go.mod h1:tMsIuKXuuIWPBAOrH+eHtvhTL+SntFtXF9QD68aP6p4=
go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0=
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
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
6 changes: 3 additions & 3 deletions http/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ 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
// https://github.com/getsentry/sentry-go/tree/master/_examples/http.
// https://github.com/exaring/sentry-go/tree/master/_examples/http.
func Example() {
// Initialize the Sentry SDK once in the main function.
// sentry.Init(...)
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 Gin 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"
)
Expand Down
Loading

0 comments on commit e112715

Please sign in to comment.