uuid

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2020 License: CC0-1.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Refresh

func Refresh(element Uuindexable) error

Generate function returns UUID (rfc 4122) compliant string suitable for use within OSCAL documents. OSCAL requires random based (version 4) UUID to be used. However it is clear that having stable UUIDs (that is same id for same content) is highly beneficial. This method creates version 4 UUIDs that are not truly random but rather content dependent.

Types

type Uuindexable

type Uuindexable interface {
	SetUuid(uuid string)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL