package uuid
import "go.mongodb.org/mongo-driver/internal/uuid"
Index ¶
Types ¶
type UUID ¶
type UUID [16]byte
UUID represents a UUID.
func New ¶
New returns a random UUIDv4. It uses a global pseudo-random number generator in randutil at package initialization.
New should not be used to generate cryptographically-secure random UUIDs.
Source Files ¶
uuid.go
- Version
- v1.11.5
- Published
- May 3, 2023
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 5 minutes ago –
Tools for package owners.