We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29f2ea4 commit ca674adCopy full SHA for ca674ad
pkg/detectors/brandfetch/v1/brandfetch.go
@@ -14,8 +14,11 @@ import (
14
15
type Scanner struct{}
16
17
+func (s Scanner) Version() int { return 1 }
18
+
19
// Ensure the Scanner satisfies the interface at compile time.
20
var _ detectors.Detector = (*Scanner)(nil)
21
+var _ detectors.Versioner = (*Scanner)(nil)
22
var (
23
client = common.SaneHttpClient()
24
pkg/detectors/brandfetch/v2/brandfetch.go
@@ -14,9 +14,11 @@ import (
+func (s Scanner) Version() int { return 2 }
-
0 commit comments