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
fba2237f
Commit
fba2237f
authored
Mar 12, 2016
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #39 from thecanadianbaker/update-project
Updated Project struct
parents
625995db
6771d896
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
25 deletions
+32
-25
projects.go
projects.go
+32
-25
No files found.
projects.go
View file @
fba2237f
...
...
@@ -34,31 +34,38 @@ type ProjectsService struct {
//
// GitLab API docs: http://doc.gitlab.com/ce/api/projects.html
type
Project
struct
{
ID
*
int
`json:"id"`
Description
*
string
`json:"description"`
DefaultBranch
*
string
`json:"default_branch"`
Public
*
bool
`json:"public"`
VisibilityLevel
*
VisibilityLevel
`json:"visibility_level"`
SSHURLToRepo
*
string
`json:"ssh_url_to_repo"`
HTTPURLToRepo
*
string
`json:"http_url_to_repo"`
WebURL
*
string
`json:"web_url"`
TagList
*
[]
string
`json:"tag_list"`
Owner
*
User
`json:"owner"`
Name
*
string
`json:"name"`
NameWithNamespace
*
string
`json:"name_with_namespace"`
Path
*
string
`json:"path"`
PathWithNamespace
*
string
`json:"path_with_namespace"`
IssuesEnabled
*
bool
`json:"issues_enabled"`
MergeRequestsEnabled
*
bool
`json:"merge_requests_enabled"`
WikiEnabled
*
bool
`json:"wiki_enabled"`
SnippetsEnabled
*
bool
`json:"snippets_enabled"`
CreatedAt
*
time
.
Time
`json:"created_at,omitempty"`
LastActivityAt
*
time
.
Time
`json:"last_activity_at,omitempty"`
CreatorID
*
int
`json:"creator_id"`
Namespace
*
ProjectNamespace
`json:"namespace"`
Archived
*
bool
`json:"archived"`
AvatarURL
*
string
`json:"avatar_url"`
Permissions
*
Permissions
`json:"permissions"`
ID
*
int
`json:"id"`
Description
*
string
`json:"description"`
DefaultBranch
*
string
`json:"default_branch"`
Public
*
bool
`json:"public"`
VisibilityLevel
*
VisibilityLevel
`json:"visibility_level"`
SSHURLToRepo
*
string
`json:"ssh_url_to_repo"`
HTTPURLToRepo
*
string
`json:"http_url_to_repo"`
WebURL
*
string
`json:"web_url"`
TagList
*
[]
string
`json:"tag_list"`
Owner
*
User
`json:"owner"`
Name
*
string
`json:"name"`
NameWithNamespace
*
string
`json:"name_with_namespace"`
Path
*
string
`json:"path"`
PathWithNamespace
*
string
`json:"path_with_namespace"`
IssuesEnabled
*
bool
`json:"issues_enabled"`
OpenIssuesCount
*
int
`json:"open_issues_count"`
MergeRequestsEnabled
*
bool
`json:"merge_requests_enabled"`
BuildsEnabled
*
bool
`json:"builds_enabled"`
WikiEnabled
*
bool
`json:"wiki_enabled"`
SnippetsEnabled
*
bool
`json:"snippets_enabled"`
CreatedAt
*
time
.
Time
`json:"created_at,omitempty"`
LastActivityAt
*
time
.
Time
`json:"last_activity_at,omitempty"`
CreatorID
*
int
`json:"creator_id"`
Namespace
*
ProjectNamespace
`json:"namespace"`
Permissions
*
Permissions
`json:"permissions"`
Archived
*
bool
`json:"archived"`
AvatarURL
*
string
`json:"avatar_url"`
SharedRunnersEnabled
*
bool
`json:"shared_runners_enabled"`
ForksCount
*
int
`json:"forks_count"`
StarCount
*
int
`json:"star_count"`
RunnersToken
*
string
`json:"runners_token"`
PublicBuilds
*
bool
`json:"public_builds"`
}
type
ProjectNamespace
struct
{
...
...
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