This is my second week in go and have been working in php, python nodejs. Its really interesting to learn golang. The performance benefit from golang is outstanding compared to other technologies.
Coming to my point, I am working on a POC about building http server using echo. There other libraries as well such as Gin and Mux but I prefer Echo.
Now in any of these libraries, the basic idea of route is common. We prepare a route name, pattern and there is a handler function attached to it.
In my requirement, there are going to be 200 to 500 routes, they will have roughly 600+ handler functions. If I build this as a single application, it will become a super heavy application in terms of size, also it will be time consuming task to run go build.
So If i want to keep handler functions in all together separate build and import it in my main.go file in runtime, is it possible to do that?
Is it possible to create a separate executable of group of handler functions and call those executable if route is matched?
Apologies if the question has been repeated.