This may be https://golang.org/issue/21720. Does it work with Go 1.8?
On Fri, Sep 15, 2017 at 12:48 AM, Chandru <chandru...@gmail.com> wrote: > How do I remove the actual value of GOPATH from executable binary? > > I tried the following command, but my home directory continued to appear > when I ran strings on the binary. > > go install -gcflags -trimpath=$GOPATH -asmflags -trimpath=$GOPATH > > -- > Chandra Sekar.S > > -- > 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. -- 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.