Upgrade to golangci/golangci-lint-action@v7 (#254) …and fix lint issues.
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M gomponents.go → gomponents.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 }) }