From 3b4f6059155e043d819a3b2efc72368dfb7f3d8f Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Sat, 10 Feb 2024 19:38:20 +0100 Subject: [PATCH] docs: fixing typos --- README.md | 2 +- null_test.go | 4 ++-- version7.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3e9a618..a63ef61 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,4 @@ go get github.com/google/uuid Full `go doc` style documentation for the package can be viewed online without installing this package by using the GoDoc site here: -http://pkg.go.dev/github.com/google/uuid +https://pkg.go.dev/github.com/google/uuid diff --git a/null_test.go b/null_test.go index c6e5e69..fe0fe8d 100644 --- a/null_test.go +++ b/null_test.go @@ -205,10 +205,10 @@ func TestNullUUIDUnmarshalJSON(t *testing.T) { var nu NullUUID err := json.Unmarshal(jsonNull, &nu) if err != nil || nu.Valid { - t.Errorf("expected nil when unmarshaling null, got %s", err) + t.Errorf("expected nil when unmarshalling null, got %s", err) } err = json.Unmarshal(jsonUUID, &nu) if err != nil || !nu.Valid { - t.Errorf("expected nil when unmarshaling null, got %s", err) + t.Errorf("expected nil when unmarshalling null, got %s", err) } } diff --git a/version7.go b/version7.go index 3167b64..0f5d994 100644 --- a/version7.go +++ b/version7.go @@ -83,7 +83,7 @@ var lastV7time int64 const nanoPerMilli = 1000000 // getV7Time returns the time in milliseconds and nanoseconds / 256. -// The returned (milli << 12 + seq) is guarenteed to be greater than +// The returned (milli << 12 + seq) is guaranteed to be greater than // (milli << 12 + seq) returned by any previous call to getV7Time. func getV7Time() (milli, seq int64) { timeMu.Lock()