From: jiahua wang Date: Thu, 24 Jul 2025 15:54:12 +0000 (+0800) Subject: all: update blog link X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c7b85e9ddc1e23f84ccb3c5de8fdb55e80a9dd69;p=gostls13.git 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 Reviewed-by: Damien Neil Reviewed-by: Mark Freeman --- 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 (