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
a37b347f
Commit
a37b347f
authored
May 25, 2019
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the code consistent (within this package)
parent
bc3f93f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
20 deletions
+19
-20
.gitignore
.gitignore
+3
-4
README.md
README.md
+11
-11
project_import_export.go
project_import_export.go
+0
-0
repositories.go
repositories.go
+5
-5
No files found.
.gitignore
View file @
a37b347f
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
# Folders
# Folders
_obj
_obj
_test
_test
.idea
# Architecture specific extensions/prefixes
# Architecture specific extensions/prefixes
*.[568vq]
*.[568vq]
...
@@ -24,5 +23,6 @@ _testmain.go
...
@@ -24,5 +23,6 @@ _testmain.go
*.test
*.test
*.prof
*.prof
# IDE specific stuff
# IDE specific files and folders
*.iml
.idea
\ No newline at end of file
*.iml
README.md
View file @
a37b347f
...
@@ -24,7 +24,6 @@ to add new and/or missing endpoints. Currently the following services are suppor
...
@@ -24,7 +24,6 @@ to add new and/or missing endpoints. Currently the following services are suppor
-
[
]
Epic Issues
-
[
]
Epic Issues
-
[
]
Epics
-
[
]
Epics
-
[
]
Geo Nodes
-
[
]
Geo Nodes
-
[
x
]
Project import/export
-
[
x
]
Award Emojis
-
[
x
]
Award Emojis
-
[
x
]
Branches
-
[
x
]
Branches
-
[
x
]
Broadcast Messages
-
[
x
]
Broadcast Messages
...
@@ -35,14 +34,14 @@ to add new and/or missing endpoints. Currently the following services are suppor
...
@@ -35,14 +34,14 @@ to add new and/or missing endpoints. Currently the following services are suppor
-
[
x
]
Deployments
-
[
x
]
Deployments
-
[
x
]
Environments
-
[
x
]
Environments
-
[
x
]
Events
-
[
x
]
Events
-
[
x
]
Feature
f
lags
-
[
x
]
Feature
F
lags
-
[
x
]
GitLab CI Config
t
emplates
-
[
x
]
GitLab CI Config
T
emplates
-
[
x
]
Gitignores
t
emplates
-
[
x
]
Gitignores
T
emplates
-
[
x
]
Group Access Requests
-
[
x
]
Group Access Requests
-
[
x
]
Group Issue Boards
-
[
x
]
Group Issue Boards
-
[
x
]
Group Members
-
[
x
]
Group Members
-
[
x
]
Group Milestones
-
[
x
]
Group Milestones
-
[
x
]
Group-
l
evel Variables
-
[
x
]
Group-
L
evel Variables
-
[
x
]
Groups
-
[
x
]
Groups
-
[
x
]
Issue Boards
-
[
x
]
Issue Boards
-
[
x
]
Issues
-
[
x
]
Issues
...
@@ -54,19 +53,20 @@ to add new and/or missing endpoints. Currently the following services are suppor
...
@@ -54,19 +53,20 @@ to add new and/or missing endpoints. Currently the following services are suppor
-
[
x
]
Merge Requests
-
[
x
]
Merge Requests
-
[
x
]
Namespaces
-
[
x
]
Namespaces
-
[
x
]
Notes (comments)
-
[
x
]
Notes (comments)
-
[
x
]
Notification
s
ettings
-
[
x
]
Notification
S
ettings
-
[
x
]
Open
source license t
emplates
-
[
x
]
Open
Source License T
emplates
-
[
x
]
Pages Domains
-
[
x
]
Pages Domains
-
[
x
]
Pipeline Schedules
-
[
x
]
Pipeline Schedules
-
[
x
]
Pipeline Triggers
-
[
x
]
Pipeline Triggers
-
[
x
]
Pipelines
-
[
x
]
Pipelines
-
[
x
]
Project Access Requests
-
[
x
]
Project Access Requests
-
[
x
]
Project Badges
-
[
x
]
Project Clusters
-
[
x
]
Project Clusters
-
[
x
]
Project Import/export
-
[
x
]
Project Members
-
[
x
]
Project Members
-
[
x
]
Project Milestones
-
[
x
]
Project Milestones
-
[
x
]
Project Snippets
-
[
x
]
Project Snippets
-
[
x
]
Project badges
-
[
x
]
Project-Level Variables
-
[
x
]
Project-level Variables
-
[
x
]
Projects (including setting Webhooks)
-
[
x
]
Projects (including setting Webhooks)
-
[
x
]
Protected Branches
-
[
x
]
Protected Branches
-
[
x
]
Protected Tags
-
[
x
]
Protected Tags
...
@@ -76,12 +76,12 @@ to add new and/or missing endpoints. Currently the following services are suppor
...
@@ -76,12 +76,12 @@ to add new and/or missing endpoints. Currently the following services are suppor
-
[
x
]
Search
-
[
x
]
Search
-
[
x
]
Services
-
[
x
]
Services
-
[
x
]
Settings
-
[
x
]
Settings
-
[
x
]
Sidekiq
m
etrics
-
[
x
]
Sidekiq
M
etrics
-
[
x
]
System Hooks
-
[
x
]
System Hooks
-
[
x
]
Tags
-
[
x
]
Tags
-
[
x
]
Todos
-
[
x
]
Todos
-
[
x
]
Users
-
[
x
]
Users
-
[
x
]
Validate CI
c
onfiguration
-
[
x
]
Validate CI
C
onfiguration
-
[
x
]
Version
-
[
x
]
Version
-
[
x
]
Wikis
-
[
x
]
Wikis
...
...
project_import_export.go
View file @
a37b347f
This diff is collapsed.
Click to expand it.
repositories.go
View file @
a37b347f
...
@@ -225,11 +225,11 @@ func (s *RepositoriesService) Compare(pid interface{}, opt *CompareOptions, opti
...
@@ -225,11 +225,11 @@ func (s *RepositoriesService) Compare(pid interface{}, opt *CompareOptions, opti
//
//
// GitLab API docs: https://docs.gitlab.com/ce/api/repositories.html#contributors
// GitLab API docs: https://docs.gitlab.com/ce/api/repositories.html#contributors
type
Contributor
struct
{
type
Contributor
struct
{
Name
string
`json:"name
,omitempty
"`
Name
string
`json:"name"`
Email
string
`json:"email
,omitempty
"`
Email
string
`json:"email"`
Commits
int
`json:"commits
,omitempty
"`
Commits
int
`json:"commits"`
Additions
int
`json:"additions
,omitempty
"`
Additions
int
`json:"additions"`
Deletions
int
`json:"deletions
,omitempty
"`
Deletions
int
`json:"deletions"`
}
}
func
(
c
Contributor
)
String
()
string
{
func
(
c
Contributor
)
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