Register multiple workflows/activities in one-go

so if my project has ten or more workflows, how do I add them in one go? I read the documentation and it doesn’t say much about registering multiple activities and workflows?

are there any open-source projects handling multiple workflows/activities which can help me learn best software practices to implement temporal (golang preferred)

For workflows, you need to call RegisterWorkflow for each of them.

For activities, you can call RegisterActivity for each, or, if many have the same struct receiver, you can just pass a pointer to the struct to RegisterActivity and all exported methods are registered.

There are some samples in GitHub - temporalio/samples-go: Temporal Go SDK samples (e.g. child-*, mutex, etc) that register a couple of workflows. “handling multiple workflows/activities” is a pretty generic concept, it depends on what you are trying to do.