From 9b61d758ac63d6140b859f4bbf087b9a1d72b870 Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Tue, 10 Oct 2023 12:50:02 -0700 Subject: [PATCH] fix comments --- codes/codes.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/codes/codes.go b/codes/codes.go index 7c4b2239917a..08476ad1fe17 100644 --- a/codes/codes.go +++ b/codes/codes.go @@ -25,13 +25,13 @@ import ( "strconv" ) -// A Code is a status code according to the gRPC spec: -// -// https://github.com/grpc/grpc/blob/master/doc/statuscodes.md +// A Code is a status code defined according to the [gRPC documentation]. // // Only the codes defined as consts in this package are valid codes. Do not use -// other code values. Behavior and interopability are implementation-specific -// and not guaranteed. +// other code values. Behavior of other codes is implementation-specific and +// interoperability between implementations is not guaranteed. +// +// [gRPC documentation]: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md type Code uint32 const (