确保Golang中exe文件的完整性

I have a question on deployment of .exe file developed using Go Language.

.exe files will be deployed on the customer machines. Which means the integrity of the files (the files are not corrupted, infected) is important.

What should be the approach to ensure that the .exe file is not infected, corrupted or replaced?

(for example .Net binaries can be signed at compilation, which ensures integrity, and they can be digitally signed by a certificate, which ensures the source of the binary.)

Do we have any such precautions in Golang?

Thanks

Use installers such as Inno Setup, InstallShield or Wise Installer. They can check the integrity of the files before installation.

Inno Setup supports for digitally signed installs and uninstalls, including dual signing (SHA1 & SHA256).

InstallShield uses MD5 checks the integrity of the package.