Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pracj3am committed Oct 4, 2023
1 parent 0ba6a33 commit b53130f
Show file tree
Hide file tree
Showing 39 changed files with 51 additions and 51 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/cdn77/sentry-go"
)

// release is the release of this program that will be reported to Sentry.
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/cdn77/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/cdn77/sentry-go"
)

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

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

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/cdn77/sentry-go"
)

type pickleIntegration struct{}
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/cdn77/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/cdn77/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/cdn77/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/cdn77/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/cdn77/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/cdn77/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/cdn77/sentry-go/internal/testutils"
)

func TestDynamicSamplingContextFromHeader(t *testing.T) {
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/cdn77/sentry-go"
)

// TransportWithHooks is an http.RoundTripper that wraps an existing
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/cdn77/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/cdn77/sentry-go"
sentryhttp "github.com/cdn77/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/cdn77/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/cdn77/sentry-go"
sentryhttp "github.com/cdn77/sentry-go/http"
"github.com/cdn77/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 internal/otel/baggage/baggage.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
"unicode/utf8"

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

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/otel/baggage/baggage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/stretchr/testify/assert"

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

var rng *rand.Rand
Expand Down
2 changes: 1 addition & 1 deletion internal/testutils/asserts.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"testing"

"github.com/getsentry/sentry-go/internal/otel/baggage"
"github.com/cdn77/sentry-go/internal/otel/baggage"
"github.com/google/go-cmp/cmp"
)

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

sentry "github.com/getsentry/sentry-go"
sentry "github.com/cdn77/sentry-go"
"github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions logrus/logrusentry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
pkgerr "github.com/pkg/errors"
"github.com/sirupsen/logrus"

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

func TestNew(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion otel/event_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package sentryotel

import (
"github.com/getsentry/sentry-go"
"github.com/cdn77/sentry-go"
"go.opentelemetry.io/otel/trace"
)

Expand Down
2 changes: 1 addition & 1 deletion otel/event_processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"testing"

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

func TestLinkTraceContextToErrorEventSetsContext(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions otel/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
module github.com/getsentry/sentry-go/otel
module github.com/cdn77/sentry-go/otel

go 1.18

require (
github.com/getsentry/sentry-go v0.24.1
github.com/cdn77/sentry-go v0.24.77
github.com/google/go-cmp v0.5.9
go.opentelemetry.io/otel v1.11.0
go.opentelemetry.io/otel/sdk v1.11.0
go.opentelemetry.io/otel/trace v1.11.0
)

replace github.com/getsentry/sentry-go => ../
replace github.com/cdn77/sentry-go => ../

require (
github.com/go-logr/logr v1.2.3 // indirect
Expand Down
6 changes: 3 additions & 3 deletions otel/helpers_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"
"github.com/getsentry/sentry-go/internal/otel/baggage"
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/cdn77/sentry-go"
"github.com/cdn77/sentry-go/internal/otel/baggage"
"github.com/cdn77/sentry-go/internal/testutils"
"github.com/google/go-cmp/cmp"
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/trace"
Expand Down
2 changes: 1 addition & 1 deletion otel/internal/utils/mapotelstatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package utils

import (
"github.com/getsentry/sentry-go"
"github.com/cdn77/sentry-go"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/sdk/trace"
semconv "go.opentelemetry.io/otel/semconv/v1.12.0"
Expand Down
2 changes: 1 addition & 1 deletion otel/internal/utils/sentryrequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"context"
"strings"

"github.com/getsentry/sentry-go"
"github.com/cdn77/sentry-go"
"go.opentelemetry.io/otel/sdk/trace"
semconv "go.opentelemetry.io/otel/semconv/v1.12.0"
)
Expand Down
2 changes: 1 addition & 1 deletion otel/internal/utils/spanattributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"net/url"

"github.com/getsentry/sentry-go"
"github.com/cdn77/sentry-go"
otelSdkTrace "go.opentelemetry.io/otel/sdk/trace"
semconv "go.opentelemetry.io/otel/semconv/v1.12.0"
otelTrace "go.opentelemetry.io/otel/trace"
Expand Down
4 changes: 2 additions & 2 deletions otel/propagator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package sentryotel
import (
"context"

"github.com/getsentry/sentry-go"
"github.com/getsentry/sentry-go/internal/otel/baggage"
"github.com/cdn77/sentry-go"
"github.com/cdn77/sentry-go/internal/otel/baggage"
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/trace"
)
Expand Down
4 changes: 2 additions & 2 deletions otel/propagator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"context"
"testing"

"github.com/getsentry/sentry-go"
"github.com/getsentry/sentry-go/internal/otel/baggage"
"github.com/cdn77/sentry-go"
"github.com/cdn77/sentry-go/internal/otel/baggage"
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/trace"
)
Expand Down
2 changes: 1 addition & 1 deletion otel/span_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package sentryotel
import (
"sync"

"github.com/getsentry/sentry-go"
"github.com/cdn77/sentry-go"
otelTrace "go.opentelemetry.io/otel/trace"
)

Expand Down
4 changes: 2 additions & 2 deletions otel/span_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"context"
"time"

"github.com/getsentry/sentry-go"
"github.com/getsentry/sentry-go/otel/internal/utils"
"github.com/cdn77/sentry-go"
"github.com/cdn77/sentry-go/otel/internal/utils"
"go.opentelemetry.io/otel/attribute"
otelSdkTrace "go.opentelemetry.io/otel/sdk/trace"
)
Expand Down
4 changes: 2 additions & 2 deletions otel/span_processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"log"
"testing"

"github.com/getsentry/sentry-go"
"github.com/getsentry/sentry-go/internal/testutils"
"github.com/cdn77/sentry-go"
"github.com/cdn77/sentry-go/internal/testutils"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/sdk/resource"
otelSdkTrace "go.opentelemetry.io/otel/sdk/trace"
Expand Down
2 changes: 1 addition & 1 deletion profiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync/atomic"
"time"

"github.com/getsentry/sentry-go/internal/traceparser"
"github.com/cdn77/sentry-go/internal/traceparser"
)

// Start a profiler that collects samples continuously, with a buffer of up to 30 seconds.
Expand Down
2 changes: 1 addition & 1 deletion scope_concurrency_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"testing"

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

func TestConcurrentScopeUsage(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion stacktrace.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func shouldSkipFrame(module string) bool {
}

// Skip Sentry internal frames, except for frames in _test packages (for testing).
if strings.HasPrefix(module, "github.com/getsentry/sentry-go") &&
if strings.HasPrefix(module, "github.com/cdn77/sentry-go") &&
!strings.HasSuffix(module, "_test") {
return true
}
Expand Down
2 changes: 1 addition & 1 deletion stacktrace_external_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"

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

func f1() *sentry.Stacktrace {

Check failure on line 15 in stacktrace_external_test.go

View workflow job for this annotation

GitHub Actions / Lint

undefined: sentry (typecheck)
Expand Down
2 changes: 1 addition & 1 deletion transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync"
"time"

"github.com/getsentry/sentry-go/internal/ratelimit"
"github.com/cdn77/sentry-go/internal/ratelimit"
)

const defaultBufferSize = 30
Expand Down

0 comments on commit b53130f

Please sign in to comment.