Registry / serialization / osteele-liquid

osteele-liquid

JSON →
library1.8.1gogounverified

A pure Go implementation of Shopify Liquid templates, developed for use in gojekyll.

go get github.com/osteele/liquid
INSTALL
IMPORT
SIG · OSTEELE-LIQUID
O
osteele-liquid
serializationgov1.8.1
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.

liquid
github.com/osteele/liquid

Parse and render a Liquid template

package main import ( "fmt" "github.com/osteele/liquid" ) func main() { template := liquid.NewTemplate() out, err := template.ParseAndRender([]byte("Hello {{ name }}!"), map[string]interface{}{"name": "World"}) if err != nil { panic(err) } fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
osteele-liquid — go get osteele-liquid · libregistry