Commit 12ad4432 authored by Zaq? Wiedmann's avatar Zaq? Wiedmann Committed by Sander van Harmelen

Support WebURL on project snippets (#247)

Project Snippets return `web_url` in the fields. Believe adding it to the struct here should allow us to pick it up.
Ref: https://docs.gitlab.com/ce/api/project_snippets.html
parent ca54c89a
......@@ -48,6 +48,7 @@ type Snippet struct {
} `json:"author"`
UpdatedAt *time.Time `json:"updated_at"`
CreatedAt *time.Time `json:"created_at"`
WebURL string `json:"web_url"`
}
func (s Snippet) 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