Skip to content

Commit

Permalink
修改GetObjectVersions返回的Size类型为int64
Browse files Browse the repository at this point in the history
  • Loading branch information
jojoliang committed Jan 9, 2023
1 parent 0f76128 commit 525b389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ type ListVersionsResultVersion struct {
IsLatest bool `xml:"IsLatest,omitempty"`
LastModified string `xml:"LastModified,omitempty"`
ETag string `xml:"ETag,omitempty"`
Size int `xml:"Size,omitempty"`
Size int64 `xml:"Size,omitempty"`
StorageClass string `xml:"StorageClass,omitempty"`
Owner *Owner `xml:"Owner,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion cos.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

const (
// Version current go sdk version
Version = "0.7.40"
Version = "0.7.41"
UserAgent = "cos-go-sdk-v5/" + Version
contentTypeXML = "application/xml"
defaultServiceBaseURL = "http://service.cos.myqcloud.com"
Expand Down

0 comments on commit 525b389

Please sign in to comment.