mirror of https://github.com/daffainfo/nuclei.git
13 lines
298 B
Go
13 lines
298 B
Go
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
|
|
}
|