uuid

package
v0.7.24 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: EPL-1.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package uuid exposes JVM-faithful java.util.UUID equivalents for code running on glojure. Static methods (UUID/randomUUID, UUID/fromString, UUID/nameUUIDFromBytes) are published through pkgmap under both the bare "UUID." prefix and the fully qualified Go path. The (UUID. msb lsb) constructor sugar is handled by rewrite-core, which redirects to FromBits. Instance methods (toString, compareTo, getMostSignificantBits, ...) reach through lang.FieldOrMethod via reflection on *UUID.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBits

func FromBits(args ...any) *juuid.UUID

FromBits is the Go target for the `(UUID. msb lsb)` constructor sugar. Mirrors `new UUID(long, long)`.

func FromString

func FromString(args ...any) *juuid.UUID

FromString mirrors UUID.fromString.

func IsUUID added in v0.7.5

func IsUUID(x any) bool

IsUUID reports whether x is a java.util.UUID compatibility value.

func NameUUIDFromBytes

func NameUUIDFromBytes(args ...any) *juuid.UUID

NameUUIDFromBytes mirrors UUID.nameUUIDFromBytes(byte[]).

func RandomUUID

func RandomUUID() *juuid.UUID

RandomUUID mirrors UUID.randomUUID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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