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

x/website: URL type in "Go Doc Comments" #53338

Open
tebeka opened this issue Jun 12, 2022 · 1 comment
Open

x/website: URL type in "Go Doc Comments" #53338

tebeka opened this issue Jun 12, 2022 · 1 comment
Labels
NeedsFix website
Milestone

Comments

@tebeka
Copy link
Contributor

@tebeka tebeka commented Jun 12, 2022

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

$ go version
1.18.3

Does this issue reproduce with the latest release?

N/A

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

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/miki/.cache/go-build"
GOENV="/home/miki/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/miki/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/miki/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/miki/sdk/go1.18.3"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/miki/sdk/go1.18.3/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.3"
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-build4155690658=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Look at https://go.dev/doc/comment "Links" section

What did you expect to see?

// [JSON and Go]: https://golang.org/doc/articles/json_and_go.html

What did you see instead?

// [JSON and Go]: https://golang.org/doc/articles/json_and_go.htmlpackage json

(The package json suffix is a typo IMO)

@gopherbot gopherbot added this to the Unreleased milestone Jun 12, 2022
@oiooj oiooj added the NeedsFix label Jun 12, 2022
@gopherbot
Copy link

@gopherbot gopherbot commented Jun 12, 2022

Change https://go.dev/cl/411754 mentions this issue: content/doc: fix bad URL in comment doc

@ansaba ansaba removed this from the Unreleased milestone Jun 15, 2022
@ansaba ansaba added this to the website/later milestone Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix website
Projects
None yet
Development

No branches or pull requests

4 participants