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
10146017
Commit
10146017
authored
Oct 18, 2016
by
Sander van Harmelen
Committed by
GitHub
Oct 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pagination options to ListBuildsOptions (#86)
parent
9a296c6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
builds.go
builds.go
+3
-2
No files found.
builds.go
View file @
10146017
...
...
@@ -26,7 +26,8 @@ import (
// ListBuildsOptions are options for two list apis
type
ListBuildsOptions
struct
{
Scope
[]
BuildState
`url:"scope,omitempty", json:"scope,omitempty"`
ListOptions
Scope
[]
BuildState
`url:"scope,omitempty" json:"scope,omitempty"`
}
// BuildsService handles communication with the ci builds related methods
...
...
@@ -41,7 +42,7 @@ type BuildsService struct {
//
// GitLab API docs: http://docs.gitlab.com/ce/api/builds.html
type
Build
struct
{
Commit
*
Commit
`json:"commit"`
Commit
*
Commit
`json:"commit"`
CreatedAt
*
time
.
Time
`json:"created_at"`
ArtifactsFile
struct
{
Filename
string
`json:"filename"`
...
...
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