We are building, in golang, a system to allow users to upload files and publish them as mini websites. We’d like to use Hugo for the publishing part of this.
It is possible to execute a Hugo build from within a golang program? We prefer not to invoke a shell command as that introduces new dependencies.