From 12a196e782e7828264b924737cb9a84208799d09 Mon Sep 17 00:00:00 2001 From: Roger Guldbrandsen Date: Fri, 7 Sep 2018 15:50:41 +0100 Subject: [PATCH] [fix] Prefer gofrs UUID library to satori's 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: https://github.com/satori/go.uuid/issues/66 --- report.go | 2 +- sessions/publisher_test.go | 2 +- sessions/session.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/report.go b/report.go index a8979250..f59e24a0 100644 --- a/report.go +++ b/report.go @@ -3,7 +3,7 @@ package bugsnag import ( "time" - uuid "github.com/satori/go.uuid" + uuid "github.com/gofrs/uuid" ) type reportJSON struct { diff --git a/sessions/publisher_test.go b/sessions/publisher_test.go index e6e5f013..ef1499d5 100644 --- a/sessions/publisher_test.go +++ b/sessions/publisher_test.go @@ -10,7 +10,7 @@ import ( "time" simplejson "github.com/bitly/go-simplejson" - uuid "github.com/satori/go.uuid" + uuid "github.com/gofrs/uuid" ) const ( diff --git a/sessions/session.go b/sessions/session.go index c9bb6003..16e4e13a 100644 --- a/sessions/session.go +++ b/sessions/session.go @@ -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.