Our great sponsors
-
gotenberg
A developer-friendly API for converting numerous document formats into PDF files, and more!
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Back to Go - there are both free/open source (gopdf,gofpdf) and commercial (ex: UniPDF) pdf libraries for Go; there also coordination libraries for Go, such as https://github.com/gotenberg/gotenberg , which sounds like it might be a better fit for your very bare question (you may get better answers with a more complete example of what you want to do). It does not directly produce PDFs in Go code, but instead orchestrates passing uploaded files to Chromium, LibreOffice, or various pdf engines. Between them, it can convert a wide variety of file formats to PDF. (Again, really they are basically being printed to PDF - it is a one-way action.)
Related posts
- How would you go about making a website that generates pdf based on user input?
- Anyone know a good HTML to PDF converter?
- How do "modules" dynamic loading is working in GO ?
- Html writes on top of eachother
- What enterprise wide solutions have you adopted as alternatives to digitally generating documents that are not PDF?