From 54fb474afc05ba134404dc1125740926e08f4249 Mon Sep 17 00:00:00 2001 From: Peter Bourgon Date: Sat, 13 Apr 2024 19:52:21 +0200 Subject: [PATCH] Update ulid.go --- ulid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ulid.go b/ulid.go index b70a5a3..c246d72 100644 --- a/ulid.go +++ b/ulid.go @@ -419,7 +419,7 @@ func (id ULID) Timestamp() time.Time { return Time(id.Time()) } -// IsZero returns whether the ULID is a zero-value, ie ulid.Nil. +// IsZero returns true if the ULID is a zero-value ULID, i.e. ulid.Zero. func (id ULID) IsZero() bool { return bytes.Equal(id[:], Nil[:]) }