photoprism/pkg/rnd/uuid.go

11 lines
163 B
Go
Raw Normal View History

package rnd
import (
uuid "github.com/satori/go.uuid"
)
// UUID returns a standard, random UUID as string.
func UUID() string {
return uuid.NewV4().String()
}