From 5996bb0b66c4f4b16df724dfbd08ce90945cac8b Mon Sep 17 00:00:00 2001 From: Bernardo Heynemann Date: Tue, 29 Mar 2022 17:30:36 -0300 Subject: [PATCH] Fix README example's missing import (#661) * Fix example missing import * Tab and spaces Co-authored-by: Bernardo Heynemann --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1268a55..727f5a1 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{}), )