From c4e875025a530f483e1d121fc4b3b6fa5e269e4f Mon Sep 17 00:00:00 2001 From: Fahrezal Effendi Date: Tue, 26 Dec 2023 06:08:18 +0000 Subject: [PATCH] Update CallMetadata docs --- iam/callmetadata.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iam/callmetadata.go b/iam/callmetadata.go index e689ca8..f51420a 100644 --- a/iam/callmetadata.go +++ b/iam/callmetadata.go @@ -32,10 +32,10 @@ func (md CallMetadata) Authorization() *Authorization { func (md CallMetadata) ReceiveTime() time.Time { return md.receiveTime } -// CallMetadataOf extract CallMetadata from ctx. +// CallMetadataOf extracts CallMetadata from ctx. // // It returns valid instance of CallMetadata if it exists. It returns nil -// if no instance of CallMetadata existed or the CallMetadata is a nil. It +// if no instance of CallMetadata existed or it exists but nil. It // returns an instance of CallMetadata which ContextError returns an error // if the value from the ctx is of unexpected type. func CallMetadataOf(ctx context.Context) *CallMetadata {