mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Demand Go 1.19 in go.mod. Replaced interface{} with any
This commit is contained in:
parent
1189d538b3
commit
c4b70d20cd
15 changed files with 74 additions and 74 deletions
|
|
@ -430,7 +430,7 @@ func (w *worker) sign(data []byte) (string, error) {
|
|||
sig.Data, constants.PGPSignatureHeader, "", "")
|
||||
}
|
||||
|
||||
func (w *worker) extractCategories(label string, advisory interface{}) error {
|
||||
func (w *worker) extractCategories(label string, advisory any) error {
|
||||
|
||||
// use provider or global categories
|
||||
var categories []string
|
||||
|
|
@ -499,7 +499,7 @@ func (w *worker) mirrorFiles(tlpLabel csaf.TLPLabel, files []csaf.AdvisoryFile)
|
|||
continue
|
||||
}
|
||||
|
||||
var advisory interface{}
|
||||
var advisory any
|
||||
|
||||
s256 := sha256.New()
|
||||
s512 := sha512.New()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue