photoprism/pkg/rnd/uuid.go
Michael Mayer f8a45b14d9 Backend: Move reusable packages to pkg/
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-12 14:00:56 +01:00

10 lines
163 B
Go

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