All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Bug Report: Go's uuid.NewV7() Consistently Generates '7000' Prefix on Browsers

By

hajimehoshi

12h ago· 2 min readenCode

Summary

This appears to be a bug report or issue related to Go's UUID package, specifically the NewV7() function, which always generates a UUID with '7000' on browsers. The content is primarily technical debugging information including Go version details (go1.27rc1) and environment configuration output. The core issue is that UUID v7 generation is not producing proper random/variable values but instead consistently outputting '7000' in browser environments.

Source

Hacker NewsBug Report: Go's uuid.NewV7() Consistently Generates '7000' Prefix on Browsersgithub.com

Key quotes

· 3 pulled
uuid: `NewV7()` always generates a UUID with `7000` on browsers
Go version go version go1.27rc1 darwin/arm64
CGO_ENABLED='1'
Snippet from the RSS feed
Go version go version go1.27rc1 darwin/arm64 Output of go env in your module/workspace: AR='ar' CC='clang' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_ENABLED='1' CGO_FFLAGS='-O2 ...

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.