Skip to content

Commit 639d12b

Browse files
committed
Merge branch 'master' of github.com:mgechev/revive
* 'master' of github.com:mgechev/revive: Fix README example's missing import (#661)
2 parents 8bbeab2 + 5996bb0 commit 639d12b

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)