In microservice architectures, it is fairly common to have a project that includes different worker types. A Makefile can be used to manage the creation of multiple programs, but the Go toolchain has a great tool that can be used as well, go generate. Here are some examples of how we take advantage of ‘go generate’ at Nuvi:
In other words, we have one git repository, but from that code, we want to generate ‘n‘ number of executables.
#golang #programming #tutorial #ci/cd #deployment #go #go generate #toolchain