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
ac119b95
Commit
ac119b95
authored
Jul 31, 2015
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2 from svanharmelen/dev
Adding Travis file...
parents
a5a8ecfd
f79c35d4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
3 deletions
+13
-3
.travis.yml
.travis.yml
+4
-0
labels.go
examples/labels.go
+1
-1
main.go
examples/main.go
+6
-0
projects.go
examples/projects.go
+1
-1
repository_files.go
examples/repository_files.go
+1
-1
No files found.
.travis.yml
0 → 100644
View file @
ac119b95
language
:
go
go
:
-
1.4
examples/labels.go
View file @
ac119b95
...
...
@@ -6,7 +6,7 @@ import (
"github.com/xanzy/go-gitlab"
)
func
main
()
{
func
labelExample
()
{
git
:=
gitlab
.
NewClient
(
nil
,
"yourtokengoeshere"
)
// Create new label
...
...
examples/main.go
0 → 100644
View file @
ac119b95
package
main
func
main
()
{
// See the separate files in this directory for the examples. This file is only
// here to provide a main() function for the `example` package, keeping Travis happy.
}
examples/projects.go
View file @
ac119b95
...
...
@@ -6,7 +6,7 @@ import (
"github.com/xanzy/go-gitlab"
)
func
main
()
{
func
projectExample
()
{
git
:=
gitlab
.
NewClient
(
nil
,
"yourtokengoeshere"
)
// Create new project
...
...
examples/repository_files.go
View file @
ac119b95
...
...
@@ -7,7 +7,7 @@ import (
"github.com/xanzy/go-gitlab"
)
func
main
()
{
func
repositoryFileExample
()
{
git
:=
gitlab
.
NewClient
(
nil
,
"yourtokengoeshere"
)
// Create a new repository file
...
...
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