How do "modules" dynamic loading is working in GO ?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • gotenberg

    A developer-friendly API for converting numerous document formats into PDF files, and more!

  • 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

  • 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.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts