[go-nuts] go build/install generate different binaries on file vs package

2016-07-24 Thread Tamás Gulácsi
Is that protoc-gen-go contains only main.go? -- 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 htt

[go-nuts] go build/install generate different binaries on file vs package

2016-07-23 Thread tang . yan
Hi, I have read golang documents and FAQ but didn't find an answer to this. The question is that when I run "go build ./" to build a binary, it is sometimes different from the result generated by "go build main.go", at least for the package below. For example, this can be easily reproduced: $