diff --git a/src/cmd/pprof/doc.go b/src/cmd/pprof/doc.go index 59e1a47cd19..f55a50a60f1 100644 --- a/src/cmd/pprof/doc.go +++ b/src/cmd/pprof/doc.go @@ -12,5 +12,5 @@ // // go tool pprof -h // -// For an example, see https://blog.golang.org/profiling-go-programs. +// For an example, see https://go.dev/blog/pprof. package main diff --git a/src/context/context.go b/src/context/context.go index 4f150f6a1d6..4fb537e2338 100644 --- a/src/context/context.go +++ b/src/context/context.go @@ -103,7 +103,7 @@ type Context interface { // } // } // - // See https://blog.golang.org/pipelines for more examples of how to use + // See https://go.dev/blog/pipelines for more examples of how to use // a Done channel for cancellation. Done() <-chan struct{} diff --git a/src/encoding/gob/doc.go b/src/encoding/gob/doc.go index 0866ba15446..c746806887a 100644 --- a/src/encoding/gob/doc.go +++ b/src/encoding/gob/doc.go @@ -274,7 +274,7 @@ released version, subject to issues such as security fixes. See the Go compatibi document for background: https://golang.org/doc/go1compat See "Gobs of data" for a design discussion of the gob wire format: -https://blog.golang.org/gobs-of-data +https://go.dev/blog/gob # Security diff --git a/src/net/http/httptrace/trace.go b/src/net/http/httptrace/trace.go index 706a4329578..cee13d2da83 100644 --- a/src/net/http/httptrace/trace.go +++ b/src/net/http/httptrace/trace.go @@ -76,7 +76,7 @@ func WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context { // during a single round trip and has no hooks that span a series // of redirected requests. // -// See https://blog.golang.org/http-tracing for more. +// See https://go.dev/blog/http-tracing for more. type ClientTrace struct { // GetConn is called before a connection is created or // retrieved from an idle pool. The hostPort is the diff --git a/src/net/http/pprof/pprof.go b/src/net/http/pprof/pprof.go index 6ba6b2c8e03..635d3ad9d9f 100644 --- a/src/net/http/pprof/pprof.go +++ b/src/net/http/pprof/pprof.go @@ -67,7 +67,7 @@ // in your browser. // // For a study of the facility in action, visit -// https://blog.golang.org/2011/06/profiling-go-programs.html. +// https://go.dev/blog/pprof. package pprof import (