[3p][go][build] Use embed instead of library ... in go_binary and go_test targets. This prepares GN Go targets for the Bazel migration, nudging them to be more consistent with how Bazel defines Go targets. Bug: 481921739 Change-Id: I6a0d67e5263f14a45d57a0b5b1d08baa308acfd8 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/1495876 Reviewed-by: David Turner <digit@google.com> Commit-Queue: Jay Zhuang <jayzhuang@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.