plush.go
func RunScript(input string, ctx hctx.Context) error {
	input = "<% " + input + "%>"

	ctx = ctx.New()
	ctx.Set("print", func(i interface{}) {
		fmt.Print(i)
	})
	ctx.Set("println", func(i interface{}) {
		fmt.Println(i)
	})

	_, err := Render(input, ctx)
	return err
}
func RunScript(input string, ctx hctx.Context) error {
	input = "<% " + input + "%>"

	ctx = ctx.New()
	ctx.Set("print", func(i interface{}) {
		fmt.Print(i)
	})
	ctx.Set("println", func(i interface{}) {
		fmt.Println(i)
	})

	_, err := Render(input, ctx)
	return err
}
func RunScript ( input string , ctx hctx . Context ) error { input = " " + input + " " ctx = ctx . New ( ) ctx . Set ( " " , func ( i interface { } ) { fmt . Print ( i ) } ) ctx . Set ( " " , func ( i interface { } ) { fmt . Println ( i ) } ) _ , err := Render ( input , ctx ) return err }
// RunScript allows for "pure" plush scripts to be executed.
RunScript allows for pure plush scripts to be executed .