crowdsec/pkg/cwhub/testdata
mmetc 89028f17cf
Refact pkg/cwhub (part 3) (#2516)
* removed unused error; comment
* rename loop variables
* happy path
* rename loop variables
* extract function, method
* log.Printf -> log.Infof
* tests -> testdata

from "go help test":

The go tool will ignore a directory named "testdata", making it available
to hold ancillary data needed by the tests.

* align tags
* extract function toEmoji
2023-10-04 12:54:21 +02:00
..
collection_v1.yaml Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
collection_v2.yaml Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
foobar_parser.yaml Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
index1.json Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
index2.json Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00