Unverified Commit 27277e97 authored by Roman Volodin's avatar Roman Volodin Committed by GitHub

Added field which shows if the branch is default

Added "default" field, which shows if the branch is default in its project
parent e1143f7a
......@@ -37,6 +37,7 @@ type Branch struct {
Name string `json:"name"`
Protected bool `json:"protected"`
Merged bool `json:"merged"`
Default bool `json:"default"`
DevelopersCanPush bool `json:"developers_can_push"`
DevelopersCanMerge bool `json:"developers_can_merge"`
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment