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 2016-02-13 23:17:36 +01:00
parent c7b2050cfe
commit 4fcb0d9ca2
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
package Version
var (
oceansVersion string = `2.0.7` // Ocean's current version
oceansVersion string = `2.0.8` // Ocean's current version
)

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
}