Closed jeremiah closed 10 years ago
You used the code on the README? Meh, it was probably old (I made some very big changes since the last time I updated that portion of the README). Let me double check and update it.
The fix I just made should do the trick. Please let me know if you find anything else. Just as a general note, I'm still actively working on this code base, so the documentation tends to lag behind the implementation. I'm hoping to see things stabilize once I finish implementing one of the last big directives, "MACRO"
Cool, thanks! I'll re-read the README. :-)
I'm happy to help with documentation as I can, I'll send pull requests and I don't mind using alpha software.
Cheers!
Another quick note. I fixed the original error by changing this line;
xt:= xslate.New()
to this
xt, err := xslate.New()
Hi,
Looks like the compiler is complaining about multiple values in a single value context. My error message;
$ go build template-xslate.go
command-line-arguments
./template-xslate.go:9: multiple-value xslate.New() in single-value context
The file I'm compiling is just the snippet from the README file, I've added nothing.