How to create dynamic import local project in same server?

How to create dynamic import local project in same server? I have production and testing modul in same server, production folder name “atu” and testing folder name “uat_atu”

I have package config and modul
image

And inside mod_absence.go I import
image

So how to change dynamic from “atu/config” to “uat_atu/config”

I don’t think it’s possible. But maybe you should consider to use a pattern like factory or builder to change the actual configuration and/or implementation thanks to a flag passed as parameter.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.