Merge pull request #151 from alexflint/fix-lint

Fix lint issue in reflect.go
This commit is contained in:
Alex Flint 2021-04-20 12:20:36 -07:00 committed by GitHub
commit 4354574615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -45,9 +45,8 @@ func cardinalityOf(t reflect.Type) (cardinality, error) {
if scalar.CanParse(t) {
if isBoolean(t) {
return zero, nil
} else {
return one, nil
}
return one, nil
}
// look inside pointer types