- loader.go with go:embed definitions/*.yaml for compile-time embedding - registry.go with List(), Get(), Stats(), AC() methods - Aho-Corasick automaton built from all provider keywords at NewRegistry() - pkg/providers/definitions/ with 3 YAML files for embed - All 5 provider tests pass: load, get, stats, AC, schema validation
15 lines
316 B
Modula-2
15 lines
316 B
Modula-2
module github.com/salvacybersec/keyhunter
|
|
|
|
go 1.26.1
|
|
|
|
require (
|
|
github.com/petar-dambovaliev/aho-corasick v0.0.0-20250424160509-463d218d4745
|
|
github.com/stretchr/testify v1.11.1
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
)
|