Skip to content

docs: document uuid.Nil as the empty all-zero UUID - #223

Open
Solaris-star wants to merge 1 commit into
google:masterfrom
Solaris-star:docs/112-nil-uuid-comment
Open

docs: document uuid.Nil as the empty all-zero UUID#223
Solaris-star wants to merge 1 commit into
google:masterfrom
Solaris-star:docs/112-nil-uuid-comment

Conversation

@Solaris-star

Copy link
Copy Markdown

Summary

godoc attached the package-level comment "Well known namespace IDs and UUIDs" to uuid.Nil, which is misleading. Nil is the empty all-zero UUID, not a namespace.

Fix

Give Nil its own doc comment and keep the namespace comment for the NameSpace* values only.

Fixes #112

The package-level comment "Well known namespace IDs and UUIDs" was
applied to Nil in godoc, which is misleading. Give Nil its own
doc comment describing the empty UUID (google#112).

Fixes google#112
@Solaris-star
Solaris-star requested a review from a team as a code owner July 23, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Documentation] uuid.Nil is not documented properly

1 participant