commit | 2226952b8a9564a83b29cb281238c5adac6c71b3 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Apr 22 09:50:26 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue May 10 16:18:12 2022 +0000 |
tree | 3a5480f3828454fca0c758c6514c147739ca48b2 | |
parent | 30a2750a91616f8120266b79ea52d293a2398b86 [diff] |
go/doc: move code from playExample to a separate function The playExample function is very long. Move the code that finds top-level declarations and unresolved identifiers to a separate function. In a future CL, we will be improving that function by removing unused declarations. Change-Id: I5632012674687f23094b2bc90615daaecb2cf525 Reviewed-on: https://go-review.googlesource.com/c/go/+/401757 Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@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 3.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.