Skip to content

Commit

Permalink
Merge pull request #30 from thetreep/master
Browse files Browse the repository at this point in the history
support driver.ErrSkip
  • Loading branch information
jeffswenson authored Apr 10, 2024
2 parents 6162739 + 7e3657d commit de1f16c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion values.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,10 @@ func parseValueWithType(valWithTyp string) (interface{}, error) {
if err != nil {
return nil, err
}
if s == "EOF" {
if s == driver.ErrSkip.Error() {
return driver.ErrSkip, nil
}
if s == io.EOF.Error() {
// Return reference to singleton object so that callers can compare
// by reference.
return io.EOF, nil
Expand Down

0 comments on commit de1f16c

Please sign in to comment.