On Fri, Apr 30, 2021 at 9:25 AM Yandong Zhang <zydscie...@gmail.com> wrote: > > It seems that this is still a quite annoying issue. The ldflags -s -w did not > work at all for this purpose. > Would anyone recommend a way to remove or hide the file path resulted from > the panic?
See the "go build" -trimpath option. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVU-Td7JUNEPmQJtVJZiRLwuHk64sHobf5KptZq6p8z3Q%40mail.gmail.com.