aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjiahua wang <wjh180909@gmail.com>2025-07-24 23:54:12 +0800
committerSean Liao <sean@liao.dev>2025-08-08 10:00:21 -0700
commitc7b85e9ddc1e23f84ccb3c5de8fdb55e80a9dd69 (patch)
tree38591fc47dc2b1da4babb8cebdf8d106fb61b1fa /src
parenta8dd771e132beb8e4b2354f209cbb29b9f4fc815 (diff)
downloadgo-c7b85e9ddc1e23f84ccb3c5de8fdb55e80a9dd69.tar.xz
all: update blog link
Change-Id: I8631fbc552b85f35b494a8d5a2c0baf68ee66982 Reviewed-on: https://go-review.googlesource.com/c/go/+/690215 Reviewed-by: qiu laidongfeng <2645477756@qq.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Mark Freeman <markfreeman@google.com>
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 (