Skip to content

Commit

Permalink
Switch to github.com/google/[email protected], which has UUIDv7 support now :)
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek committed Mar 5, 2024
1 parent c96d653 commit 09fb6aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/go-chi/traceid

go 1.14

require github.com/gofrs/uuid/v5 v5.0.0
require github.com/google/uuid v1.6.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/gofrs/uuid/v5 v5.0.0 h1:p544++a97kEL+svbcFbCQVM9KFu0Yo25UoISXGNNH9M=
github.com/gofrs/uuid/v5 v5.0.0/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
2 changes: 1 addition & 1 deletion traceid.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"net/http"

"github.com/gofrs/uuid/v5"
"github.com/google/uuid"
)

var Header = http.CanonicalHeaderKey("TraceId")
Expand Down

0 comments on commit 09fb6aa

Please sign in to comment.