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
d03b2958
Commit
d03b2958
authored
Feb 19, 2018
by
Maxime Roussin-Bélanger
Committed by
Sander van Harmelen
Feb 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in gitlab documentation link for contributors (#340)
parent
f699850a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
repositories.go
repositories.go
+2
-2
No files found.
repositories.go
View file @
d03b2958
...
...
@@ -215,7 +215,7 @@ func (s *RepositoriesService) Compare(pid interface{}, opt *CompareOptions, opti
// Contributor represents a GitLap contributor.
//
// GitLab API docs: https://docs.gitlab.com/ce/api/repositories.html#contribut
er
// GitLab API docs: https://docs.gitlab.com/ce/api/repositories.html#contribut
ors
type
Contributor
struct
{
Name
string
`json:"name,omitempty"`
Email
string
`json:"email,omitempty"`
...
...
@@ -230,7 +230,7 @@ func (c Contributor) String() string {
// Contributors gets the repository contributors list.
//
// GitLab API docs: https://docs.gitlab.com/ce/api/repositories.html#contribut
er
// GitLab API docs: https://docs.gitlab.com/ce/api/repositories.html#contribut
ors
func
(
s
*
RepositoriesService
)
Contributors
(
pid
interface
{},
options
...
OptionFunc
)
([]
*
Contributor
,
*
Response
,
error
)
{
project
,
err
:=
parseID
(
pid
)
if
err
!=
nil
{
...
...
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