Skip to content

Commit

Permalink
[fix] Prefer gofrs UUID library to satori's
Browse files Browse the repository at this point in the history
satori/go.uuid introduced a breaking change a while back, which
can cause transient dependencies to be difficult to manage.

gofrs is an organisation of community members who work to ensure
the packages people depend on don't cause backwards breaking changes and
is therefore probably a better choice.

For more information:
satori/go.uuid#66
  • Loading branch information
kinbiko committed Sep 7, 2018
1 parent 8103ae6 commit 12a196e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion report.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package bugsnag
import (
"time"

uuid "github.com/satori/go.uuid"
uuid "github.com/gofrs/uuid"
)

type reportJSON struct {
Expand Down
2 changes: 1 addition & 1 deletion sessions/publisher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

simplejson "github.com/bitly/go-simplejson"
uuid "github.com/satori/go.uuid"
uuid "github.com/gofrs/uuid"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion sessions/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sessions
import (
"time"

uuid "github.com/satori/go.uuid"
uuid "github.com/gofrs/uuid"
)

// Session represents a start time and a unique ID that identifies the session.
Expand Down

0 comments on commit 12a196e

Please sign in to comment.