Skip to content

v0.3.0 - Add New API

Compare
Choose a tag to compare
@fallsimply fallsimply released this 16 Sep 22:15
· 14 commits to master since this release

New API Example:

var tmpl = bilit.Template("Hello, I'm {{name}} from {{City}}, {{from_state}}")
println(tmpl.Populate(map[string]string{
	"name": "John",
	"City": "Dallas",
	"from_state": "TX"
}))
println(tmpl.Pull("Hello, I'm John from Dallas, TX"))

The new API has a backwards compatible API wrapper