Bugfix: UUID

The external UUID library changed the text formatting of the UUIDs. Thus, Ocean produces a too short UUID!
This commit is contained in:
Thorsten Sommer committed 2016-02-13 23:17:36 +01:00
1 parent c7b2050cfe
commit 4fcb0d9ca2
2 files changed
+5 -6

No files matched your search

-1
View File
@@ -20,6 +20,5 @@ func RandomFloat64() (rnd float64) {
// Gets a random UUID (v4).
func RandomGUID() (guidString string) {
guidString = uuid.NewV4().String()
guidString = guidString[1 : len(guidString)-1]
return
}