From dd44ee2c0de27dd2eaed2a86675e9c61700eab7e Mon Sep 17 00:00:00 2001 From: syumai Date: Sun, 29 May 2022 11:20:09 +0900 Subject: [PATCH] fix build error --- r2objects.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/r2objects.go b/r2objects.go index a1e7a9e..df14f8a 100644 --- a/r2objects.go +++ b/r2objects.go @@ -8,9 +8,11 @@ import ( // R2Objects represents Cloudflare R2 objects. // * https://github.com/cloudflare/workers-types/blob/3012f263fb1239825e5f0061b267c8650d01b717/index.d.ts#L1121 type R2Objects struct { - Objects []*R2Object - Truncated bool - Cursor *string + Objects []*R2Object + Truncated bool + // Cursor indicates next cursor of R2Objects. + // * This becomes empty string if cursor doesn't exist. + Cursor string DelimitedPrefixes []string }