package uuid
import "github.com/open-policy-agent/opa/internal/uuid"
Index ¶
Constants ¶
const (
BILLION = 1000000000
)
Functions ¶
func New ¶
New Create a version 4 random UUID
func Parse ¶
Parse will use the google/uuid library to parse the string into a uuid if parsing fails, it will return an empty map. It will fill the map with some decoded values with fillMap ref: https://datatracker.ietf.org/doc/html/rfc4122
Source Files ¶
- Version
- v1.5.1 (latest)
- Published
- Jun 4, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 day ago –
Tools for package owners.