Skip to content

Commit

Permalink
Update CallMetadata docs
Browse files Browse the repository at this point in the history
  • Loading branch information
exavolt committed Dec 26, 2023
1 parent 0856783 commit c4e8750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iam/callmetadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c4e8750

Please sign in to comment.