File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ type Project struct {
5454 Namespace * Namespace `json:"namespace,omitempty"`
5555 SshRepoUrl string `json:"ssh_url_to_repo"`
5656 HttpRepoUrl string `json:"http_url_to_repo"`
57+ WebUrl string `json:"web_url"`
5758}
5859
5960func projects (u string , g * Gitlab ) ([]* Project , error ) {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ func TestProject(t *testing.T) {
2222 assert .IsType (t , new (Project ), project )
2323 assert .Equal (t , project .SshRepoUrl , "git@example.com:diaspora/diaspora-project-site.git" )
2424 assert .Equal (t , project .HttpRepoUrl , "http://example.com/diaspora/diaspora-project-site.git" )
25+ assert .Equal (t , project .WebUrl , "http://example.com/diaspora/diaspora-project-site" )
2526 defer ts .Close ()
2627}
2728
You can’t perform that action at this time.
0 commit comments