Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
70b8c323
Commit
70b8c323
authored
Aug 06, 2015
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from svanharmelen/dev
Remove some unused fields of the Commit struct
parents
5061e9cd
5a90931a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
commits.go
commits.go
+10
-12
No files found.
commits.go
View file @
70b8c323
...
...
@@ -34,18 +34,16 @@ type CommitsService struct {
//
// GitLab API docs: http://doc.gitlab.com/ce/api/commits.html
type
Commit
struct
{
ID
string
`json:"id"`
ShortID
string
`json:"short_id"`
Title
string
`json:"title"`
AuthorName
string
`json:"author_name"`
AuthorEmail
string
`json:"author_email"`
AuthoredDate
time
.
Time
`json:"authored_date"`
CommittedDate
time
.
Time
`json:"committed_date"`
CommitterName
string
`json:"committer_name"`
CommitterEmail
string
`json:"committer_email"`
CreatedAt
time
.
Time
`json:"created_at"`
Message
string
`json:"message"`
ParentsIds
[]
string
`json:"parents_ids"`
ID
string
`json:"id"`
ShortID
string
`json:"short_id"`
Title
string
`json:"title"`
AuthorName
string
`json:"author_name"`
AuthorEmail
string
`json:"author_email"`
AuthoredDate
time
.
Time
`json:"authored_date"`
CommittedDate
time
.
Time
`json:"committed_date"`
CreatedAt
time
.
Time
`json:"created_at"`
Message
string
`json:"message"`
ParentsIds
[]
string
`json:"parents_ids"`
}
func
(
c
Commit
)
String
()
string
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment