gerrit: add WebLinks field to ProjectInfo
Make its content available to callers, like already done in TagInfo.
Change-Id: Id3bc06d905378e89362f9e8e05e8211e87b1c084
GitHub-Last-Rev: 36e8a8686eeb0b5a3d87cd97a9dcc460972109d4
GitHub-Pull-Request: golang/build#34
Reviewed-on: https://go-review.googlesource.com/c/build/+/314809
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
diff --git a/gerrit/gerrit.go b/gerrit/gerrit.go
index 02bc12f..46184d5 100644
--- a/gerrit/gerrit.go
+++ b/gerrit/gerrit.go
@@ -725,6 +725,7 @@
Description string `json:"description"`
State string `json:"state"`
Branches map[string]string `json:"branches"`
+ WebLinks []WebLinkInfo `json:"web_links,omitempty"`
}
// ListProjects returns the server's active projects.