Commit 5a90931a authored by Sander van Harmelen's avatar Sander van Harmelen

Remove some unused fields of the Commit struct

parent 5061e9cd
...@@ -34,18 +34,16 @@ type CommitsService struct { ...@@ -34,18 +34,16 @@ type CommitsService struct {
// //
// GitLab API docs: http://doc.gitlab.com/ce/api/commits.html // GitLab API docs: http://doc.gitlab.com/ce/api/commits.html
type Commit struct { type Commit struct {
ID string `json:"id"` ID string `json:"id"`
ShortID string `json:"short_id"` ShortID string `json:"short_id"`
Title string `json:"title"` Title string `json:"title"`
AuthorName string `json:"author_name"` AuthorName string `json:"author_name"`
AuthorEmail string `json:"author_email"` AuthorEmail string `json:"author_email"`
AuthoredDate time.Time `json:"authored_date"` AuthoredDate time.Time `json:"authored_date"`
CommittedDate time.Time `json:"committed_date"` CommittedDate time.Time `json:"committed_date"`
CommitterName string `json:"committer_name"` CreatedAt time.Time `json:"created_at"`
CommitterEmail string `json:"committer_email"` Message string `json:"message"`
CreatedAt time.Time `json:"created_at"` ParentsIds []string `json:"parents_ids"`
Message string `json:"message"`
ParentsIds []string `json:"parents_ids"`
} }
func (c Commit) String() string { func (c Commit) 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