Commit f418945a authored by theshank's avatar theshank Committed by Sander van Harmelen

closes #77 - add `web_url` field to `Issue` (#79)

* closes #77 - adds `web_url` field to `Issue`

* Add new fields in Issue struct to bring it up-to-date with Gitlab API

The following fields have been added to `Issue` struct
* `Subscribed`
* `UserNotesCount`
* `Confidential`
* `DueDate`
* `WebURL`
parent d7e810c7
...@@ -70,6 +70,11 @@ type Issue struct { ...@@ -70,6 +70,11 @@ type Issue struct {
State string `json:"state"` State string `json:"state"`
UpdatedAt *time.Time `json:"updated_at"` UpdatedAt *time.Time `json:"updated_at"`
CreatedAt *time.Time `json:"created_at"` CreatedAt *time.Time `json:"created_at"`
Subscribed bool `json:"subscribed"`
UserNotesCount int `json:"user_notes_count"`
Confidential bool `json:"confidential"`
DueDate string `json:"due_date"`
WebURL string `json:"web_url"`
} }
func (i Issue) String() string { func (i Issue) String() string {
......
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