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.
You have edited your question since I posted my reply, so here is more. They have a custom implementation of being able to register a "Module" here: https://github.com/gotenberg/gotenberg/blob/main/pkg/gotenberg/modules.go#L93 And they import their standard modules just for the side effect of it calling their init() function which calls the module registration: https://github.com/gotenberg/gotenberg/blob/main/pkg/standard/imports.go And https://github.com/gotenberg/gotenberg/blob/main/pkg/modules/api/api.go#L25
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?
- Html writes on top of eachother
- What enterprise wide solutions have you adopted as alternatives to digitally generating documents that are not PDF?
- dompdf security alert: RCE vulnerability found in PHP PDF library