is there a recommended way to do this? something like ynh_install_nodejs but for golang? or should I just install go manually, and then build the app? The tricky part with this would just be detecting the architecture, and downloading the right go file.
Alternatively, I can download pre-built debs of the package, from the release, and install that way. any opinion which is better?
I guess the main advantage of building from source on the device, is that its maybe easier to audit the code. As opposed to downloading a deb/binary where you can’t easily see what’s in it and are effectively trusting the upstream, or whoever compiles the binaries (if I’m understanding correctly).