diff --git a/Core/PluginUtils.go b/Core/PluginUtils.go index 89cddd5..86fda2d 100644 --- a/Core/PluginUtils.go +++ b/Core/PluginUtils.go @@ -3,7 +3,6 @@ package Core import ( "fmt" "github.com/shadow1ng/fscan/Common" - "sort" "strings" ) @@ -57,15 +56,3 @@ func validateScanPlugins() error { return nil } - -// 根据类型获取插件列表 -func GetPluginsByType(typeName string) []string { - var result []string - for name, plugin := range Common.PluginManager { - if plugin.HasType(typeName) { - result = append(result, name) - } - } - sort.Strings(result) - return result -}