Skip to content

Commit 525b389

Browse files
author
jojoliang
committed
修改GetObjectVersions返回的Size类型为int64
1 parent 0f76128 commit 525b389

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ type ListVersionsResultVersion struct {
183183
IsLatest bool `xml:"IsLatest,omitempty"`
184184
LastModified string `xml:"LastModified,omitempty"`
185185
ETag string `xml:"ETag,omitempty"`
186-
Size int `xml:"Size,omitempty"`
186+
Size int64 `xml:"Size,omitempty"`
187187
StorageClass string `xml:"StorageClass,omitempty"`
188188
Owner *Owner `xml:"Owner,omitempty"`
189189
}

cos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
const (
2626
// Version current go sdk version
27-
Version = "0.7.40"
27+
Version = "0.7.41"
2828
UserAgent = "cos-go-sdk-v5/" + Version
2929
contentTypeXML = "application/xml"
3030
defaultServiceBaseURL = "http://service.cos.myqcloud.com"

0 commit comments

Comments
 (0)