github.com/hduhelp/go-zero@v1.4.3/core/utils/uuid.go (about)

     1  package utils
     2  
     3  import "github.com/google/uuid"
     4  
     5  // NewUuid returns an uuid string.
     6  func NewUuid() string {
     7  	return uuid.New().String()
     8  }