We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in epoch_time.go, one can see:
epoch_time.go
openfoodfacts-go/epoch_time.go
Line 25 in 80078b8
secs, err := strconv.ParseInt(string(b), 0, 64) if err == nil { t.Time = time.Time{} return nil }
if
err != nil
err
nil
The text was updated successfully, but these errors were encountered:
epoch: detect strconv.ParseInt error and propagate
f3b34ed
Fixes openfoodfacts#12.
Areontar
Successfully merging a pull request may close this issue.
in
epoch_time.go
, one can see:openfoodfacts-go/epoch_time.go
Line 25 in 80078b8
if
should probably beerr != nil
err
error as well (instead ofnil
)The text was updated successfully, but these errors were encountered: