Skip to content

Commit

Permalink
docs: fixing typos (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Feb 12, 2024
1 parent 0f11ee6 commit b5b9aeb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions null_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
2 changes: 1 addition & 1 deletion version7.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b5b9aeb

Please sign in to comment.