From 36408d689fa4a19ce5a2f526d1f26f3e39f7d55e Mon Sep 17 00:00:00 2001 From: syumai Date: Mon, 30 May 2022 08:45:36 +0900 Subject: [PATCH] update doc for R2Object --- r2object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2object.go b/r2object.go index d6b07fc..97eada8 100644 --- a/r2object.go +++ b/r2object.go @@ -21,7 +21,7 @@ type R2Object struct { HTTPMetadata R2HTTPMetadata CustomMetadata map[string]string // Body is a body of R2Object. - // This value becomes nil when `Head` method of R2Bucket is called. + // This value is nil for the result of the `Head` or `Put` method. Body io.Reader }