Rename Size -> AttachmentSize

pull/90/head
Jessica Paczuski 2019-01-29 11:24:00 +01:00 committed by mattn
parent 814e71920d
commit 6bf95fc751
1 changed files with 4 additions and 4 deletions

View File

@ -237,12 +237,12 @@ type Attachment struct {
// AttachmentMeta holds information for attachment metadata.
type AttachmentMeta struct {
Original Size `json:"original"`
Small Size `json:"small"`
Original AttachmentSize `json:"original"`
Small AttachmentSize `json:"small"`
}
// Size holds information for attatchment size.
type Size struct {
// AttachmentSize holds information for attatchment size.
type AttachmentSize struct {
Width int64 `json:"width"`
Height int64 `json:"height"`
Size string `json:"size"`