mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 22:05:27 +00:00
11 lines
311 B
Go
11 lines
311 B
Go
|
|
package engine
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/marker"
|
||
|
|
"github.com/valyala/fasttemplate"
|
||
|
|
)
|
||
|
|
|
||
|
|
func replaceWithValues(data string, values map[string]interface{}) string {
|
||
|
|
return fasttemplate.ExecuteStringStd(data, marker.ParenthesisOpen, marker.ParenthesisClose, values)
|
||
|
|
}
|