Fix lint warnings

This commit is contained in:
Hiroki Yorimitsu
2024-03-07 16:33:18 +01:00
committed by Cosmin Cojocar
parent be378e682f
commit 11c32522c5
+1 -3
View File
@@ -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