You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +870b838915 Tue Jul 31 08:41:46 2018 +0100 linux/amd64
% cd /tmp
% mkdir testmod
% cd testmod
% go mod -init -module example.com/example
go: creating new go.mod: module example.com/example
% echo 'package example; import _ "gopkg.in/yaml.v2"' > example.go
% go build
% go mod -graph -json
{
"Module": {
"Path": "example.com/example"
},
"Require": [
{
"Path": "gopkg.in/yaml.v2",
"Version": "v2.2.1"
}
],
"Exclude": null,
"Replace": null
}
example.com/example gopkg.in/yaml.v2@v2.2.1
gopkg.in/yaml.v2@v2.2.1 gopkg.in/check.v1@v0.0.0-20161208181325-20d25e280405
I was expecting to see a JSON representation of the graph output. Instead, we get both the JSON output from "go mod -json" and the graph output in non-JSON form.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +870b838915 Tue Jul 31 08:41:46 2018 +0100 linux/amd64
I was expecting to see a JSON representation of the graph output. Instead, we get both the JSON output from "go mod -json" and the graph output in non-JSON form.
The text was updated successfully, but these errors were encountered: