From 842e4b5207003db692d72a1aeba4f164bbeb1c13 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 4 Feb 2025 10:33:38 -0800 Subject: [PATCH] net/rpc: move frozen notice to the start of the package doc For #71559 Change-Id: I68b9518a26cab75789d596839267abab7997bc2c Reviewed-on: https://go-review.googlesource.com/c/go/+/646575 Reviewed-by: Ian Lance Taylor Reviewed-by: Rob Pike Auto-Submit: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Commit-Queue: Ian Lance Taylor --- src/net/rpc/server.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/net/rpc/server.go b/src/net/rpc/server.go index 1771726a93..4233a426fe 100644 --- a/src/net/rpc/server.go +++ b/src/net/rpc/server.go @@ -4,7 +4,11 @@ /* Package rpc provides access to the exported methods of an object across a -network or other I/O connection. A server registers an object, making it visible +network or other I/O connection. + +The net/rpc package is frozen and is not accepting new features. + +A server registers an object, making it visible as a service with the name of the type of the object. After registration, exported methods of the object will be accessible remotely. A server may register multiple objects (services) of different types but it is an error to register multiple @@ -121,8 +125,6 @@ or A server implementation will often provide a simple, type-safe wrapper for the client. - -The net/rpc package is frozen and is not accepting new features. */ package rpc -- 2.51.0