possible to remove package https://github.com/alecthomas/template
chrisduong opened this issue · 2 comments
chrisduong commented
Hi,
I checked the package, it is a fork of GO built-in text/template
package. The feature it provided is to trim Newlines, which it is actually can be done with Go. For e.g:
{{- if true -}}
hello
{{-end}}
Will produce
hello\n
I have tested in CI, it is actually not needed. If someone can tell me more about this package's usage, I'm happy to know it. Thanks
ipedrazas commented
If you think it's not needed, raise a PR and let's clean it up.
chrisduong commented
Hi @ipedrazas, I had submitted the PR. 🙂 #75