Can we create binaries for a package in golang


(akhil) #1

Suppose If we create a package in golang we have host it on GitHub so that user can download it using go get github.com/package.

I have seen most of the people hosting their source code under the GitHub account.
Can we put binary instead of source code?
Is it possible to create a binary for the package?

Thanks,
Akhil


(Norbert Melzer) #2

According to the documenation, binary-only packages are no longer supported since 1.12.


(akhil) #3

Thanks @NobbZ
So that means we cannot release a package without source code.


(Norbert Melzer) #4

Yes.