commit | de050717f1b668dfd196f1dc4d18c77d03f3afb4 | [log] [tgz] |
---|---|---|
author | Udalov Max <re.udalov@gmail.com> | Tue Apr 23 12:53:35 2019 +0300 |
committer | Jay Conrod <jayconrod@google.com> | Wed Apr 24 00:09:18 2019 +0000 |
tree | 5d5929e298124e4e91b3915c7045f827f96f4762 | |
parent | 601eee39de1f9d215274f54d57af80ee163e11f1 [diff] |
cmd/go/internal/modcmd: assign module's path and version to fileJSON when modFile's module statement exists Fixes panic on nil pointer dereference error when assigning module's path and version pair to fileJSON. Fixes #31623 Change-Id: I3f61122ba0676a1270d3ad98900af8c8e9c90935 Reviewed-on: https://go-review.googlesource.com/c/go/+/173397 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@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://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 thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses 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.