Skip to content

Commit

Permalink
Fix TimestampFromV7 error message (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredLunde committed Apr 8, 2024
1 parent 22c52c2 commit 8ac8ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uuid.go
Expand Up @@ -141,7 +141,7 @@ func TimestampFromV6(u UUID) (Timestamp, error) {
// releases until the spec is final.
func TimestampFromV7(u UUID) (Timestamp, error) {
if u.Version() != 7 {
return 0, fmt.Errorf("uuid: %s is version %d, not version 6", u, u.Version())
return 0, fmt.Errorf("uuid: %s is version %d, not version 7", u, u.Version())
}

t := 0 |
Expand Down

0 comments on commit 8ac8ea9

Please sign in to comment.