all repos — gomponents @ 83f4798bf8ce1f3c2ddfc8927f25ce72f61a86d1

HTML components in pure Go

Upgrade to golangci/golangci-lint-action@v7 (#254) …and fix lint issues.

Markus Wüstenberg
commit

83f4798bf8ce1f3c2ddfc8927f25ce72f61a86d1

parent

cca973f39cf82a941a48dfaa4932b39bf98ded0d

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M gomponents.gogomponents.go
@@ -243,7 +243,7 @@
// Rawf creates a text DOM [Node] that just Renders the interpolated and unescaped string format. func Rawf(format string, a ...interface{}) Node { return NodeFunc(func(w io.Writer) error { - _, err := w.Write([]byte(fmt.Sprintf(format, a...))) + _, err := fmt.Fprintf(w, format, a...) return err }) }