Skip to content

Commit 5996bb0

Browse files
Fix README example's missing import (#661)
* Fix example missing import * Tab and spaces Co-authored-by: Bernardo Heynemann <[email protected]>
1 parent 671c55d commit 5996bb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ package main
586586
import (
587587
"github.com/mgechev/revive/cli"
588588
"github.com/mgechev/revive/lint"
589+
"github.com/mgechev/revive/revivelib"
589590
)
590591

591592
func main() {
@@ -621,7 +622,7 @@ func LintMyFile(file string) {
621622
true, // Set exit status
622623
2048, // Max open files
623624

624-
// Then add as many extra rules as you need
625+
// Then add as many extra rules as you need
625626
revivelib.NewExtraRule(&myRule{}, lint.RuleConfig{}),
626627
)
627628

0 commit comments

Comments
 (0)