See https://stackoverflow.com/questions/68360688/whats-the-difference-between-gobuild-and-build-directives not to mention many other answers to your question. I don't understand your question. Languages like Go, and their associated tools, evolve. In this case the people improving Go decided that a change to the syntax of the magic comments recognized by the Go tool chain made sense. I fail to see the point or your question.
On Wed, Jun 15, 2022 at 7:37 PM xie cui <cuiwei...@gmail.com> wrote: > about when these feature add to golang? > and is all we can do with //go:build can do with //+build, and vice versa? > > -- > 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/252435eb-c787-4f2f-8608-1dc578f66404n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/252435eb-c787-4f2f-8608-1dc578f66404n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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/CABx2%3DD9zC6dFyHBRq2xHjC9eGtKrTEM9hTas77%2BP4MgVFT8_hA%40mail.gmail.com.