Skip to content

Commit

Permalink
Remove TODO re uint64 for file size
Browse files Browse the repository at this point in the history
Go's http request/response objects' ContentLength field is int64 so it
seems pointless
  • Loading branch information
MrCreosote committed Nov 11, 2020
1 parent 7c1e764 commit b51e62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b51e62c

Please sign in to comment.