mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 15:37:50 -08:00
15 lines
269 B
Go
15 lines
269 B
Go
//go:build wireinject
|
|
// +build wireinject
|
|
|
|
package server
|
|
|
|
import (
|
|
"github.com/aquasecurity/trivy/pkg/fanal/cache"
|
|
"github.com/google/wire"
|
|
)
|
|
|
|
func initializeScanServer(localArtifactCache cache.Cache) *ScanServer {
|
|
wire.Build(ScanSuperSet)
|
|
return &ScanServer{}
|
|
}
|