Skip to content

Commit

Permalink
Fix TimestampFromV7 error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredLunde committed Oct 30, 2023
1 parent 22c52c2 commit 3f7b07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uuid.go
Original file line number Diff line number Diff line change
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 3f7b07d

Please sign in to comment.