Use princexml command line using https://pkg.go.dev/os/exec .
There is no native Go package to render html into pdf.
The issue is very complicated because both HTML and CSS (and potentially
JS) are complex markup language and as no browser was ever written in Go
nobody will write HTML and CSS r
Maybe http://golang.org/pkg/types and http://golang.org/pkg/build can help
you.
On Tuesday, April 9, 2024 at 2:04:03 AM UTC+3 Carl-Philip Hänsch wrote:
> Hi,
>
> I saw in go's source code that all methods and data structures regarding
> parsers, the IR and so on are private.
>
> Is there a way