On Mon, Jan 28, 2019 at 1:56 PM Aakash das <aakash.t...@gmail.com> wrote: > > Hello everyone, > The requirements for binary only source file has changed in Go 1.10. Could > you please guide me to the steps that are needed for making binary only > package work with Go 1.10. I couldn't find any example on generating a stub > source '.go' file with dependencies explicitly specified.
Write a Go file that looks like //go:binary-only-package func packagename import ( "first/dependency" "second/dependency" ) Note that after the 1.12 release, binary-only packages will no longer be supported. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.