-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move to github.com/gofrs/uuid
- Loading branch information
1 parent
2f175fc
commit aa36baf
Showing
3 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
[[constraint]] | ||
name = "github.com/satori/go.uuid" | ||
version = "v1.2.0" | ||
|
||
[prune] | ||
go-tests = true | ||
unused-packages = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package manipulate | ||
|
||
import uuid "github.com/satori/go.uuid" | ||
import "github.com/gofrs/uuid" | ||
|
||
// TransactionID is the type used to define a transcation ID of a store | ||
type TransactionID string | ||
|
||
// NewTransactionID returns a new transaction ID. | ||
func NewTransactionID() TransactionID { | ||
|
||
return TransactionID(uuid.NewV4().String()) | ||
return TransactionID(uuid.Must(uuid.NewV4()).String()) | ||
} |