gerrit: add WebLinks field to ProjectInfo

Make its content available to callers, like already done in TagInfo.

Change-Id: Id3bc06d905378e89362f9e8e05e8211e87b1c084
GitHub-Last-Rev: 36e8a8686e
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>
This commit is contained in:
andrew2nelson 2022-12-17 00:40:39 +00:00 коммит произвёл Gopher Robot
Родитель 686732b223
Коммит 1939f8f6ff
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -725,6 +725,7 @@ type ProjectInfo struct {
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.