I have a go app that runs via scheduled task on my Synology NAS DS218+. Compiling GO binaries for major platforms is fairly straight forward. Compiling GO binaries for Synology is a bit more involved. The following is what I've found to work.
First, install musl-cross.
Then run the following go build command.
Authored by Anthony Fox on 2020-04-22