I am pretty new to golang but not coding. I was trying to create a modular golang program (main.go) that will read in all the other go files in a template format like this:
The goal is to have be able to drop any file named programX.go file into the project folder following the same function naming scheme above and have my main.go read in all the programX.go files and run through the template commands
So if I had programA.go and programB.go, it would be something like
Is something like this possible in go? All advice would be helpful!