1
0
mirror of https://github.com/securego/gosec.git synced 2025-11-23 22:15:04 +02:00

Fix lint warnings

This commit is contained in:
Hiroki Yorimitsu
2024-03-07 00:05:30 +09:00
committed by Cosmin Cojocar
parent be378e682f
commit 11c32522c5

View File

@@ -19,9 +19,7 @@ import (
"strings" "strings"
) )
var ( var versioningPackagePattern = regexp.MustCompile(`v[0-9]+$`)
versioningPackagePattern = regexp.MustCompile(`v[0-9]+$`)
)
// ImportTracker is used to normalize the packages that have been imported // ImportTracker is used to normalize the packages that have been imported
// by a source file. It is able to differentiate between plain imports, aliased // by a source file. It is able to differentiate between plain imports, aliased