-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'new_version' into develop
- Loading branch information
Showing
5 changed files
with
83 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,57 @@ | ||
package easyvk | ||
|
||
// A FaveUsers describes a slice of users | ||
// A FaveUsers describes a list of users | ||
// whom the current user has bookmarked. | ||
type FaveUsers []struct { | ||
FirstName string `json:"first_name"` | ||
LastName string `json:"last_name"` | ||
UID int `json:"uid"` | ||
type FaveUsers struct { | ||
Response struct { | ||
Count int `json:"count"` | ||
Items []struct { | ||
ID int `json:"id"` | ||
FirstName string `json:"first_name"` | ||
LastName string `json:"last_name"` | ||
} `json:"items"` | ||
} `json:"response"` | ||
} | ||
|
||
// A FaveLinks describes a slice of links | ||
// A FaveLinks describes a list of links | ||
// that the current user has bookmarked. | ||
type FaveLinks []struct { | ||
ID string `json:"id"` | ||
URL string `json:"url"` | ||
Title string `json:"title"` | ||
Description string `json:"description"` | ||
ImageSrc string `json:"image_src"` | ||
ImageMiddle string `json:"image_middle"` | ||
ImageBig string `json:"image_big"` | ||
type FaveLinks struct { | ||
Response struct { | ||
Count int `json:"count"` | ||
Items []struct { | ||
ID string `json:"id"` | ||
URL string `json:"url"` | ||
Title string `json:"title"` | ||
Description string `json:"description"` | ||
Photo50 string `json:"photo_50"` | ||
Photo100 string `json:"photo_100"` | ||
Photo200 string `json:"photo_200"` | ||
} `json:"items"` | ||
} `json:"response"` | ||
} | ||
|
||
// A FavePhotos describes a slice of photos | ||
// A FavePhotos describes a list of photos | ||
// that the current user has bookmarked. | ||
type FavePhotos []struct { | ||
AccessKey string `json:"access_key"` | ||
Aid int `json:"aid"` | ||
Created int `json:"created"` | ||
Height int `json:"height"` | ||
OwnerID int `json:"owner_id"` | ||
Pid int `json:"pid"` | ||
PostID int `json:"post_id,omitempty"` | ||
Src string `json:"src"` | ||
SrcBig string `json:"src_big"` | ||
SrcSmall string `json:"src_small"` | ||
SrcXbig string `json:"src_xbig"` | ||
SrcXxbig string `json:"src_xxbig"` | ||
SrcXxxbig string `json:"src_xxxbig,omitempty"` | ||
Text string `json:"text"` | ||
UserID int `json:"user_id"` | ||
Width int `json:"width"` | ||
type FavePhotos struct { | ||
Response struct { | ||
Count int `json:"count"` | ||
Items []struct { | ||
ID int `json:"id"` | ||
AlbumID int `json:"album_id"` | ||
OwnerID int `json:"owner_id"` | ||
UserID int `json:"user_id"` | ||
Photo75 string `json:"photo_75"` | ||
Photo130 string `json:"photo_130"` | ||
Photo604 string `json:"photo_604"` | ||
Photo807 string `json:"photo_807"` | ||
Photo1280 string `json:"photo_1280"` | ||
Photo2560 string `json:"photo_2560"` | ||
Width int `json:"width"` | ||
Height int `json:"height"` | ||
Text string `json:"text"` | ||
Date int `json:"date"` | ||
PostID int `json:"post_id"` | ||
AccessKey string `json:"access_key"` | ||
} `json:"items"` | ||
} `json:"response"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters