Skip to content

Commit 34e9d78

Browse files
authored
docs: fix mylib example (#1121)
1 parent 0789e36 commit 34e9d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ func LintMyFile(file string) {
702702
// You can use as many revivelib.Include or revivelib.Exclude as required
703703
)
704704
if err != nil {
705-
panic("Shouldn't have failed: " + err.Error)
705+
panic("Shouldn't have failed: " + err.Error())
706706
}
707707

708708
// Now let's return the formatted errors

0 commit comments

Comments
 (0)