github.com/isyscore/isc-gobase@v1.5.3-0.20231218061332-cbc7451899e9/goid/uuid.go (about)

     1  package goid
     2  
     3  import (
     4  	uuid "github.com/iris-contrib/go.uuid"
     5  )
     6  
     7  func GenerateUUID() string {
     8  	id, _ := uuid.NewV4()
     9  	return id.String()
    10  }