nuclei/v2/pkg/catalog/catalogue.go

13 lines
298 B
Go
Raw Normal View History

2021-02-26 07:43:11 +00:00
package catalog
// Catalog is a template catalog helper implementation
type Catalog struct {
templatesDirectory string
}
// New creates a new Catalog structure using provided input items
func New(directory string) *Catalog {
catalog := &Catalog{templatesDirectory: directory}
return catalog
}