mirror of
https://github.com/mgechev/revive.git
synced 2024-11-21 17:16:40 +02:00
docs: fix mylib example (#1121)
This commit is contained in:
parent
0789e36cd9
commit
34e9d78df9
@ -702,7 +702,7 @@ func LintMyFile(file string) {
|
|||||||
// You can use as many revivelib.Include or revivelib.Exclude as required
|
// You can use as many revivelib.Include or revivelib.Exclude as required
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic("Shouldn't have failed: " + err.Error)
|
panic("Shouldn't have failed: " + err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now let's return the formatted errors
|
// Now let's return the formatted errors
|
||||||
|
Loading…
Reference in New Issue
Block a user