google / google/uuid

NullUUID Scan method returns valid true on empty string

Open
#109 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
440
PR merge metrics
No merged PRs in 30d

Description

```go
var id uuid.NullUUID
id.Scan("")

id.Valid == true // Shouldn't this be false?
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.