UUID in Go
Jump to navigation
Jump to search
External
Internal
Overview
go.mod
:
require (
github.com/google/uuid v1.5.0
)
uuid := uuid.New()
Conversion of a string to UUID
s := "59959107-8ea1-4bb8-a5ff-eb16b3ac6532"
uuid := uuid.MustParse(s)