This commit is contained in:
Unknown
2013-05-07 23:43:09 -04:00
parent 9f0b4ae8c1
commit ffca9f3c2b
97 changed files with 7353 additions and 57 deletions

View File

@@ -0,0 +1,17 @@
// pipeline1.go
package main
import (
"text/template"
"os"
)
func main() {
t := template.New("template test")
t = template.Must(t.Parse("This is just static text. \n{{\"This is pipeline data - because it is evaluated within the double braces.\"}} {{`So is this, but within reverse quotes.`}}\n"))
t.Execute(os.Stdout, nil)
}
/*
This is just static text.
This is pipeline data - because it is evaluated within the double braces. So is this, but within reverse quotes.
*/