From b51e62ce0f36b00eb1d19af082dcd0d86d63102c Mon Sep 17 00:00:00 2001 From: Gavin Date: Tue, 10 Nov 2020 16:31:45 -0800 Subject: [PATCH] Remove TODO re uint64 for file size Go's http request/response objects' ContentLength field is int64 so it seems pointless --- core/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.go b/core/core.go index d6f89f5..6facad6 100644 --- a/core/core.go +++ b/core/core.go @@ -29,7 +29,7 @@ type User struct { // BlobNode contains basic information about a blob stored in the blobstore. type BlobNode struct { ID uuid.UUID - Size int64 // TODO make this an unsigned int + Size int64 // ideally uint64, but ContentLength in http req is int64, so pointless MD5 values.MD5 Stored time.Time Filename string