commit | f2a5ed852bbde6c1bd21e3a716d6b8c834332015 | [log] [tgz] |
---|---|---|
author | Bryan C. Mills <bcmills@google.com> | Thu Sep 14 11:36:21 2017 -0400 |
committer | Bryan Mills <bcmills@google.com> | Tue Sep 19 18:22:10 2017 +0000 |
tree | 0a6c9f49aa7d35bc2649ab4490aed346e36e8857 | |
parent | 3066dbad52b0b0201f183db723044e68f3e4988d [diff] |
cmd/cgo: use a named type to indicate syntactic context We previously used bare strings, which made it difficult to see (and to cross-reference) the set of allowed context values. This change is purely cosmetic, but makes it easier for me to understand how to address #21878. updates #21878 Change-Id: I9027d94fd5997a0fe857c0055dea8719e1511f03 Reviewed-on: https://go-review.googlesource.com/63830 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
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://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project does not use GitHub pull requests, and that we use the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.