Commit ac119b95 authored by Sander van Harmelen's avatar Sander van Harmelen

Merge pull request #2 from svanharmelen/dev

Adding Travis file...
parents a5a8ecfd f79c35d4
language: go
go:
- 1.4
......@@ -6,7 +6,7 @@ import (
"github.com/xanzy/go-gitlab"
)
func main() {
func labelExample() {
git := gitlab.NewClient(nil, "yourtokengoeshere")
// Create new label
......
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.
}
......@@ -6,7 +6,7 @@ import (
"github.com/xanzy/go-gitlab"
)
func main() {
func projectExample() {
git := gitlab.NewClient(nil, "yourtokengoeshere")
// Create new project
......
......@@ -7,7 +7,7 @@ import (
"github.com/xanzy/go-gitlab"
)
func main() {
func repositoryFileExample() {
git := gitlab.NewClient(nil, "yourtokengoeshere")
// Create a new repository file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment