From 11c32522c50c45e69ba28568d8f878d9cc0e832d Mon Sep 17 00:00:00 2001 From: Hiroki Yorimitsu <52403055+hyorimitsu@users.noreply.github.com> Date: Thu, 7 Mar 2024 00:05:30 +0900 Subject: [PATCH] Fix lint warnings --- import_tracker.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/import_tracker.go b/import_tracker.go index cf6c392..0d9ebfe 100644 --- a/import_tracker.go +++ b/import_tracker.go @@ -19,9 +19,7 @@ import ( "strings" ) -var ( - versioningPackagePattern = regexp.MustCompile(`v[0-9]+$`) -) +var versioningPackagePattern = regexp.MustCompile(`v[0-9]+$`) // ImportTracker is used to normalize the packages that have been imported // by a source file. It is able to differentiate between plain imports, aliased