On Fri, 2021-10-08 at 16:36 -0700, Christian Stewart wrote: > Is there a way to /not/ have this information in the binary? >
You can use the garble tool[1] to strip/garble things like this. $ cd golang.org/x/tools/cmd/stringer $ garble build . $ go version -m stringer stringer: unknown [1]https://github.com/burrowers/garble -- 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/0e2acc1dd7cfae10e53b4af48bfb5c39b4e41152.camel%40kortschak.io.