Skip to content

Commit ef6225b

Browse files
committed
build(api): use NdoleStudio stacktrace fork
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10c01eca-aeb5-4fc2-a546-02cee4261d2b
1 parent 9bac0f7 commit ef6225b

92 files changed

Lines changed: 93 additions & 93 deletions

File tree

Some content is hidden

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

api/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ require (
1212
github.com/NdoleStudio/go-otelroundtripper v0.0.15
1313
github.com/NdoleStudio/lemonsqueezy-go v1.3.1
1414
github.com/NdoleStudio/plunk-go v0.0.2
15+
github.com/NdoleStudio/stacktrace v1.0.0
1516
github.com/avast/retry-go/v5 v5.0.0
1617
github.com/axiomhq/axiom-go v0.32.0
1718
github.com/carlmjohnson/requests v0.25.1
@@ -35,7 +36,6 @@ require (
3536
github.com/jszwec/csvutil v1.10.0
3637
github.com/lib/pq v1.12.3
3738
github.com/nyaruka/phonenumbers v1.8.0
38-
github.com/palantir/stacktrace v0.0.0-20161112013806-78658fd2d177
3939
github.com/patrickmn/go-cache v2.1.0+incompatible
4040
github.com/pkg/errors v0.9.1
4141
github.com/pusher/pusher-http-go/v5 v5.1.1

api/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ github.com/NdoleStudio/lemonsqueezy-go v1.3.1 h1:lMUVgdAx2onbOUJIVPR05xAANYuCMXB
6060
github.com/NdoleStudio/lemonsqueezy-go v1.3.1/go.mod h1:xKRsRX1jSI6mLrVXyWh2sF/1isxTioZrSjWy6HpA3xQ=
6161
github.com/NdoleStudio/plunk-go v0.0.2 h1:afPW7MHK4Z3rsybpJBnmTmxKCLKF1M7sPI+BNGPf35A=
6262
github.com/NdoleStudio/plunk-go v0.0.2/go.mod h1:pqG3zKhpn/A2bL1K+WsWzvfTpOeSkYgXhNk5H65uEc8=
63+
github.com/NdoleStudio/stacktrace v1.0.0 h1:YIDg0twM2BXRKIFjorX7v2dC0l8z4VEITurI+MNqvVQ=
64+
github.com/NdoleStudio/stacktrace v1.0.0/go.mod h1:WOBcbXShYu+v8JtjFEM+rRV9GJW50m+dwIvp4sLuVTg=
6365
github.com/PuerkitoBio/goquery v1.12.0 h1:pAcL4g3WRXekcB9AU/y1mbKez2dbY2AajVhtkO8RIBo=
6466
github.com/PuerkitoBio/goquery v1.12.0/go.mod h1:802ej+gV2y7bbIhOIoPY5sT183ZW0YFofScC4q/hIpQ=
6567
github.com/andybalholm/brotli v1.2.1 h1:R+f5xP285VArJDRgowrfb9DqL18yVK0gKAW/F+eTWro=
@@ -278,8 +280,6 @@ github.com/olekukonko/ll v0.1.8 h1:ysHCJRGHYKzmBSdz9w5AySztx7lG8SQY+naTGYUbsz8=
278280
github.com/olekukonko/ll v0.1.8/go.mod h1:RPRC6UcscfFZgjo1nulkfMH5IM0QAYim0LfnMvUuozw=
279281
github.com/olekukonko/tablewriter v1.1.4 h1:ORUMI3dXbMnRlRggJX3+q7OzQFDdvgbN9nVWj1drm6I=
280282
github.com/olekukonko/tablewriter v1.1.4/go.mod h1:+kedxuyTtgoZLwif3P1Em4hARJs+mVnzKxmsCL/C5RY=
281-
github.com/palantir/stacktrace v0.0.0-20161112013806-78658fd2d177 h1:nRlQD0u1871kaznCnn1EvYiMbum36v7hw1DLPEjds4o=
282-
github.com/palantir/stacktrace v0.0.0-20161112013806-78658fd2d177/go.mod h1:ao5zGxj8Z4x60IOVYZUbDSmt3R8Ddo080vEgPosHpak=
283283
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
284284
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
285285
github.com/paulmach/orb v0.13.0 h1:r7n7mQGGF+cj/CbcivEj9J3HGK+XR+yXnvzRdq9saIw=

api/pkg/cache/memory_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"time"
66

77
"github.com/NdoleStudio/httpsms/pkg/telemetry"
8-
"github.com/palantir/stacktrace"
8+
"github.com/NdoleStudio/stacktrace"
99
ttlCache "github.com/patrickmn/go-cache"
1010
)
1111

api/pkg/cache/redis_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77

88
"github.com/NdoleStudio/httpsms/pkg/telemetry"
9-
"github.com/palantir/stacktrace"
9+
"github.com/NdoleStudio/stacktrace"
1010
"github.com/redis/go-redis/v9"
1111
)
1212

api/pkg/di/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ import (
6767
"github.com/NdoleStudio/httpsms/pkg/listeners"
6868
"github.com/NdoleStudio/httpsms/pkg/repositories"
6969
"github.com/NdoleStudio/httpsms/pkg/services"
70+
"github.com/NdoleStudio/stacktrace"
7071
swagger "github.com/gofiber/contrib/v3/swaggo"
7172
"github.com/gofiber/fiber/v3"
7273
fiberLogger "github.com/gofiber/fiber/v3/middleware/logger"
73-
"github.com/palantir/stacktrace"
7474
ttlCache "github.com/patrickmn/go-cache"
7575
"gorm.io/gorm"
7676

api/pkg/emails/hermes_notification_email_factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"github.com/NdoleStudio/httpsms/pkg/events"
99

1010
"github.com/NdoleStudio/httpsms/pkg/entities"
11+
"github.com/NdoleStudio/stacktrace"
1112
"github.com/go-hermes/hermes/v2"
12-
"github.com/palantir/stacktrace"
1313
)
1414

1515
type hermesNotificationEmailFactory struct {

api/pkg/emails/hermes_user_email_factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"time"
66

77
"github.com/NdoleStudio/httpsms/pkg/entities"
8+
"github.com/NdoleStudio/stacktrace"
89
"github.com/go-hermes/hermes/v2"
9-
"github.com/palantir/stacktrace"
1010
)
1111

1212
type hermesUserEmailFactory struct {

api/pkg/emails/smtp_mailer_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net/smtp"
77

88
"github.com/NdoleStudio/httpsms/pkg/telemetry"
9+
"github.com/NdoleStudio/stacktrace"
910
mail "github.com/jordan-wright/email"
10-
"github.com/palantir/stacktrace"
1111
)
1212

1313
// SMTPConfig is the config for setting up the smtpMailer

api/pkg/handlers/attachment_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"github.com/NdoleStudio/httpsms/pkg/repositories"
88
"github.com/NdoleStudio/httpsms/pkg/telemetry"
9+
"github.com/NdoleStudio/stacktrace"
910
"github.com/gofiber/fiber/v3"
10-
"github.com/palantir/stacktrace"
1111
)
1212

1313
// AttachmentHandler handles attachment download requests

api/pkg/handlers/billing_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"github.com/NdoleStudio/httpsms/pkg/services"
88
"github.com/NdoleStudio/httpsms/pkg/telemetry"
99
"github.com/NdoleStudio/httpsms/pkg/validators"
10+
"github.com/NdoleStudio/stacktrace"
1011
"github.com/davecgh/go-spew/spew"
1112
"github.com/gofiber/fiber/v3"
12-
"github.com/palantir/stacktrace"
1313
)
1414

1515
// BillingHandler handles billing http requests.

0 commit comments

Comments
 (0)