Skip to content

Commit

Permalink
Merge pull request #78 from ravron/patch-1
Browse files Browse the repository at this point in the history
Fix unchecked error in example code
  • Loading branch information
mattfarina committed Jul 18, 2018
2 parents f852b71 + c66c2f7 commit 4ca3c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ parts of the package.
// Handle constraint not being parseable.
}
v, _ := semver.NewVersion("1.3")
v, err := semver.NewVersion("1.3")
if err != nil {
// Handle version not being parseable.
}
Expand Down

0 comments on commit 4ca3c04

Please sign in to comment.