Argh! I just realized my reference to the comment about the html/template
"HTML" type handling of comments isn't really relevant. The issue is that
the html/template package doesn't inhibit substitution inside a semantic
HTML comment. It does elide comments from the generated output but does
attemp
Yep that would fix the issue. But i am thinking those stripped html
comments should not be evaluated. That seems odd to me.
On Tuesday, 31 December 2024 at 11:20:37 UTC+3 Kurtis Rader wrote:
> Argh! I just realized my reference to the comment about the html/template
> "HTML" type handling of c
Hi All,
I have a quick question.
Is there a way to get the list of source code files of a Go binary?
Here is one solution I got:
$ strings /home/dharani/go1.22.6.linux-amd64/go/bin/gofmt | grep "\.go$"|
sort -ur
unicode/utf8/utf8.go
unicode/tables.go
unicode/letter.go
unicode/graphic.go
unicode/
More to the point, why is atilkan coding `` an HTML comment when golang templates is
a preprocessor language.that is going to strip HTML comments? If he is
retaining code in the template for future reference, then why not use a
template comment {{ /* */ }} instead of an HTML comment. Anyone familia