Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/benchmarks

go 1.21
go 1.23

replace github.com/samber/oops => ../

Expand Down
2 changes: 1 addition & 1 deletion examples/log/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/examples/log

go 1.21
go 1.23

require github.com/samber/oops v1.21.0

Expand Down
5 changes: 2 additions & 3 deletions examples/logrus/go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
module github.com/samber/oops/examples/logrus

go 1.21
go 1.23

require (
github.com/samber/oops v1.21.0
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f
github.com/sirupsen/logrus v1.9.4
github.com/sirupsen/logrus v1.10.2
)

require (
github.com/oklog/ulid/v2 v2.1.2 // indirect
github.com/samber/lo v1.53.0 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
golang.org/x/sys v0.28.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/logrus/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ github.com/samber/oops v1.21.0 h1:18atcO4oEigNFuGXqr3NZWZ6P0XOSEXyBSAMXdQRxTc=
github.com/samber/oops v1.21.0/go.mod h1:Hsm/sKPxtCfPh0w/cE3xVoRfSiE1joDRiStPAsmG9bo=
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f h1:zaW/o6yGf0AFRphivxStA4c2lVY5rlGv1c89QSm85ro=
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f/go.mod h1:omT1HR98bCyELB74fyyEb2+pd3ZbwiErZsM/URRed/A=
github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
github.com/sirupsen/logrus v1.10.2 h1:G2SED73/qrAu6YwbdxOD6peLkCBI3z7L+ykJFTXJBBo=
github.com/sirupsen/logrus v1.10.2/go.mod h1:SLEg8TqYulVKKfIGHldVp2K2aYz2DKSVBq4g/H5bR7Q=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw=
Expand Down
5 changes: 2 additions & 3 deletions examples/panic/go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
module github.com/samber/oops/examples/panic

go 1.21
go 1.23

require (
github.com/samber/oops v1.21.0
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f
github.com/sirupsen/logrus v1.9.4
github.com/sirupsen/logrus v1.10.2
)

require (
github.com/oklog/ulid/v2 v2.1.2 // indirect
github.com/samber/lo v1.53.0 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
golang.org/x/sys v0.28.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/panic/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ github.com/samber/oops v1.21.0 h1:18atcO4oEigNFuGXqr3NZWZ6P0XOSEXyBSAMXdQRxTc=
github.com/samber/oops v1.21.0/go.mod h1:Hsm/sKPxtCfPh0w/cE3xVoRfSiE1joDRiStPAsmG9bo=
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f h1:zaW/o6yGf0AFRphivxStA4c2lVY5rlGv1c89QSm85ro=
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f/go.mod h1:omT1HR98bCyELB74fyyEb2+pd3ZbwiErZsM/URRed/A=
github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
github.com/sirupsen/logrus v1.10.2 h1:G2SED73/qrAu6YwbdxOD6peLkCBI3z7L+ykJFTXJBBo=
github.com/sirupsen/logrus v1.10.2/go.mod h1:SLEg8TqYulVKKfIGHldVp2K2aYz2DKSVBq4g/H5bR7Q=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw=
Expand Down
5 changes: 2 additions & 3 deletions examples/segfault/go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
module github.com/samber/oops/examples/segfault

go 1.21
go 1.23

require (
github.com/samber/oops v1.21.0
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f
github.com/sirupsen/logrus v1.9.4
github.com/sirupsen/logrus v1.10.2
)

require (
github.com/oklog/ulid/v2 v2.1.2 // indirect
github.com/samber/lo v1.53.0 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
golang.org/x/sys v0.28.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/segfault/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ github.com/samber/oops v1.21.0 h1:18atcO4oEigNFuGXqr3NZWZ6P0XOSEXyBSAMXdQRxTc=
github.com/samber/oops v1.21.0/go.mod h1:Hsm/sKPxtCfPh0w/cE3xVoRfSiE1joDRiStPAsmG9bo=
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f h1:zaW/o6yGf0AFRphivxStA4c2lVY5rlGv1c89QSm85ro=
github.com/samber/oops/loggers/logrus v0.0.0-20260409201923-0372e7b9d26f/go.mod h1:omT1HR98bCyELB74fyyEb2+pd3ZbwiErZsM/URRed/A=
github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
github.com/sirupsen/logrus v1.10.2 h1:G2SED73/qrAu6YwbdxOD6peLkCBI3z7L+ykJFTXJBBo=
github.com/sirupsen/logrus v1.10.2/go.mod h1:SLEg8TqYulVKKfIGHldVp2K2aYz2DKSVBq4g/H5bR7Q=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw=
Expand Down
2 changes: 1 addition & 1 deletion examples/slog/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/examples/slog

go 1.21
go 1.23

require github.com/samber/oops v1.21.0

Expand Down
2 changes: 1 addition & 1 deletion examples/sources/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/examples/sources

go 1.21
go 1.23

require github.com/samber/oops v1.21.0

Expand Down
2 changes: 1 addition & 1 deletion examples/zap/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/examples/zap

go 1.21
go 1.23

replace (
github.com/samber/oops => ../..
Expand Down
2 changes: 1 addition & 1 deletion examples/zerolog/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/examples/zerolog

go 1.21
go 1.23

replace (
github.com/samber/oops => ../..
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops

go 1.21
go 1.23

// Test dependencies are removed on release

Expand Down
4 changes: 2 additions & 2 deletions loggers/logrus/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/samber/oops/loggers/logrus

go 1.21
go 1.23

replace github.com/samber/oops => ../..

require (
github.com/samber/oops v0.0.0
github.com/sirupsen/logrus v1.9.4
github.com/sirupsen/logrus v1.10.2
github.com/stretchr/testify v1.12.1
go.uber.org/goleak v1.3.0
)
Expand Down
4 changes: 2 additions & 2 deletions loggers/logrus/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ github.com/oklog/ulid/v2 v2.1.2/go.mod h1:rcEKHmBBKfef9DhnvX7y1HZBYxjXb0cP5ExxNs
github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
github.com/samber/lo v1.53.0 h1:t975lj2py4kJPQ6haz1QMgtId2gtmfktACxIXArw3HM=
github.com/samber/lo v1.53.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0=
github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
github.com/sirupsen/logrus v1.10.2 h1:G2SED73/qrAu6YwbdxOD6peLkCBI3z7L+ykJFTXJBBo=
github.com/sirupsen/logrus v1.10.2/go.mod h1:SLEg8TqYulVKKfIGHldVp2K2aYz2DKSVBq4g/H5bR7Q=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw=
Expand Down
2 changes: 1 addition & 1 deletion loggers/zap/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/loggers/zap

go 1.21
go 1.23

replace github.com/samber/oops => ../..

Expand Down
2 changes: 1 addition & 1 deletion loggers/zerolog/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/loggers/zerolog

go 1.21
go 1.23

replace github.com/samber/oops => ../..

Expand Down
2 changes: 1 addition & 1 deletion recovery/gin/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/samber/oops/recovery/gin

go 1.21
go 1.23

require (
github.com/gin-gonic/gin v1.9.1
Expand Down
Loading