UUID in Go: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:
uuid := uuid.New()
uuid := uuid.New()
</syntaxhighlight>
</syntaxhighlight>
=Conversion of a <tt>string</tt> to UUID=

Revision as of 18:16, 1 February 2024

External

Internal

Overview

go.mod:

require (
	github.com/google/uuid v1.5.0
)
uuid := uuid.New()

Conversion of a string to UUID