diff --git a/README.md b/README.md index 1268a5566..727f5a133 100644 --- a/README.md +++ b/README.md @@ -586,6 +586,7 @@ package main import ( "github.com/mgechev/revive/cli" "github.com/mgechev/revive/lint" + "github.com/mgechev/revive/revivelib" ) func main() { @@ -621,7 +622,7 @@ func LintMyFile(file string) { true, // Set exit status 2048, // Max open files - // Then add as many extra rules as you need + // Then add as many extra rules as you need revivelib.NewExtraRule(&myRule{}, lint.RuleConfig{}), )