Registry / utility / projectdiscovery-fasttemplate

projectdiscovery-fasttemplate

JSON →
library0.0.2gogounverified

Package fasttemplate implements a simple and fast template library for placeholder substitution, faster than text/template and strings.Replace.

go get github.com/projectdiscovery/fasttemplate
INSTALL
IMPORT
SIG · PROJECTDISCOVERY-F
P
projectdiscovery-fasttemplate
utilitygov0.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fasttemplate
github.com/projectdiscovery/fasttemplate

Substitutes placeholders in a template string.

package main import ( "log" "github.com/projectdiscovery/fasttemplate" ) func main() { tpl := fasttemplate.New("Hello {{name}}", "{{", "}}") result := tpl.ExecuteString(map[string]interface{}{"name": "World"}) log.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
projectdiscovery-fasttemplate — go get projectdiscovery-fasttemplate · libregistry