Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: help list missing Module.Deprecated field #51876

Open
seankhliao opened this issue Mar 22, 2022 · 1 comment
Open

cmd/go: help list missing Module.Deprecated field #51876

seankhliao opened this issue Mar 22, 2022 · 1 comment
Labels
Documentation GoCommand NeedsFix

Comments

@seankhliao
Copy link
Contributor

@seankhliao seankhliao commented Mar 22, 2022

What version of Go are you using (go version)?

$ go version
go version go1.17.8 linux/amd64
go version go1.18 linux/amd64
go version devel go1.19-fd1b5904ae Tue Mar 22 21:38:10 2022 +0000 linux/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env    
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/arccy/.cache/go-build"
GOENV="/home/arccy/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/arccy/.data/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/arccy/.data/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/arccy/sdk/gotip"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/arccy/sdk/gotip/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="devel go1.19-fd1b5904ae Tue Mar 22 21:38:10 2022 +0000"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2438979442=/tmp/go-build -gno-record-gcc-switches"

What did you do?

go help list

What did you expect to see?

type Module struct {
    // ...
    Deprecated string
    // ...
}

What did you see instead?

No Deprecated field

cc @bcmills @matloob

@seankhliao seankhliao added Documentation NeedsFix GoCommand labels Mar 22, 2022
@gopherbot
Copy link

@gopherbot gopherbot commented Mar 22, 2022

Change https://go.dev/cl/394677 mentions this issue: cmd/go/internal/list: update help info with Deprecated field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation GoCommand NeedsFix
Projects
None yet
Development

No branches or pull requests

2 participants