1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00

docs: fix mylib example (#1121)

This commit is contained in:
Oleksandr Redko
2024-11-14 12:45:07 +02:00
committed by GitHub
parent 0789e36cd9
commit 34e9d78df9

View File

@@ -702,7 +702,7 @@ func LintMyFile(file string) {
// You can use as many revivelib.Include or revivelib.Exclude as required
)
if err != nil {
panic("Shouldn't have failed: " + err.Error)
panic("Shouldn't have failed: " + err.Error())
}
// Now let's return the formatted errors