Browse Source

Updated gitlab.com/gitote/go-gitote-client

Yoginth 7 năm trước cách đây
mục cha
commit
1b4c06e348
2 tập tin đã thay đổi với 18 bổ sung22 xóa
  1. 16 20
      vendor/gitlab.com/gitote/go-gitote-client/user.go
  2. 2 2
      vendor/vendor.json

+ 16 - 20
vendor/gitlab.com/gitote/go-gitote-client/user.go

@@ -7,26 +7,22 @@ import (
 
 // User represents a API user.
 type User struct {
-	ID               int64     `json:"id"`
-	UserName         string    `json:"username"` // LEGACY [Gitote 1.0]: remove field(s) for backward compatibility
-	Login            string    `json:"login"`
-	FullName         string    `json:"full_name"`
-	Website          string    `json:"website"`
-	Email            string    `json:"email"`
-	Company          string    `json:"company"`
-	Location         string    `json:"location"`
-	Description      string    `json:"bio"`
-	IsAdmin          bool      `json:"site_admin"`
-	NumRepos         int       `json:"repos"`
-	Created          time.Time `json:"created_at"`
-	Updated          time.Time `json:"updated_at"`
-	NumFollowing     int       `json:"following"`
-	NumFollowers     int       `json:"followers"`
-	AvatarUrl        string    `json:"avatar_url"`
-	FollowersURL     string    `json:"followers_url"`
-	FollowingURL     string    `json:"following_url"`
-	OrganizationsURL string    `json:"organizations_url"`
-	ReposURL         string    `json:"repos_url"`
+	ID           int64     `json:"id"`
+	UserName     string    `json:"username"` // LEGACY [Gitote 1.0]: remove field(s) for backward compatibility
+	Login        string    `json:"login"`
+	FullName     string    `json:"full_name"`
+	Website      string    `json:"website"`
+	Email        string    `json:"email"`
+	Company      string    `json:"company"`
+	Location     string    `json:"location"`
+	Description  string    `json:"bio"`
+	IsAdmin      bool      `json:"site_admin"`
+	NumRepos     int       `json:"repos"`
+	Created      time.Time `json:"created_at"`
+	Updated      time.Time `json:"updated_at"`
+	NumFollowing int       `json:"following"`
+	NumFollowers int       `json:"followers"`
+	AvatarUrl    string    `json:"avatar_url"`
 }
 
 func (c *Client) GetUserInfo(user string) (*User, error) {

+ 2 - 2
vendor/vendor.json

@@ -471,9 +471,9 @@
 			"revisionTime": "2018-12-15T04:53:36Z"
 		},
 		{
-			"checksumSHA1": "Nn3oahnBkjSQYjKhteZtk2ANlYU=",
+			"checksumSHA1": "9iL5XF6Ur7kOYkB1NIke8dpI5DQ=",
 			"path": "gitlab.com/gitote/go-gitote-client",
-			"revision": "04b5ff713e79b2c8711480de3f43c62c8de09013",
+			"revision": "c0d6ce3444d6295f3d89b31e58a55cb26b103d71",
 			"revisionTime": "2018-12-15T05:23:13Z"
 		},
 		{