aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/pprof/doc.go2
-rw-r--r--src/context/context.go2
-rw-r--r--src/encoding/gob/doc.go2
-rw-r--r--src/net/http/httptrace/trace.go2
-rw-r--r--src/net/http/pprof/pprof.go2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/pprof/doc.go b/src/cmd/pprof/doc.go
index 59e1a47cd1..f55a50a60f 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 4f150f6a1d..4fb537e233 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 0866ba1544..c746806887 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 706a432957..cee13d2da8 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 6ba6b2c8e0..635d3ad9d9 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 (