diff --git a/cmd/fiximports/main.go b/cmd/fiximports/main.go index 1fa87eae4d..53a9944f2c 100644 --- a/cmd/fiximports/main.go +++ b/cmd/fiximports/main.go @@ -114,7 +114,7 @@ The package... arguments specify a list of packages in the style of the go tool; see "go help packages". Hint: use "all" or "..." to match the entire workspace. -For details, see http://godoc.org/golang.org/x/tools/cmd/fiximports. +For details, see https://pkg.go.dev/golang.org/x/tools/cmd/fiximports Flags: -n: dry run: show changes, but don't apply them diff --git a/cmd/present/doc.go b/cmd/present/doc.go index 9ad136e7b2..e66984edbd 100644 --- a/cmd/present/doc.go +++ b/cmd/present/doc.go @@ -47,6 +47,6 @@ the generated output. The supported formats are: .article // article format, such as a blog post The present file format is documented by the present package: -http://godoc.org/golang.org/x/tools/present +https://pkg.go.dev/golang.org/x/tools/present */ package main diff --git a/cmd/stringer/stringer.go b/cmd/stringer/stringer.go index a5cd587e4b..558a234d64 100644 --- a/cmd/stringer/stringer.go +++ b/cmd/stringer/stringer.go @@ -98,7 +98,7 @@ func Usage() { fmt.Fprintf(os.Stderr, "\tstringer [flags] -type T [directory]\n") fmt.Fprintf(os.Stderr, "\tstringer [flags] -type T files... # Must be a single package\n") fmt.Fprintf(os.Stderr, "For more information, see:\n") - fmt.Fprintf(os.Stderr, "\thttp://godoc.org/golang.org/x/tools/cmd/stringer\n") + fmt.Fprintf(os.Stderr, "\thttps://pkg.go.dev/golang.org/x/tools/cmd/stringer\n") fmt.Fprintf(os.Stderr, "Flags:\n") flag.PrintDefaults() }