go-gitlab

module
v0.0.0-...-6386a65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2015 License: BSD-3-Clause, CC-BY-3.0

README

go-gitlab

go-gitlab is a Go client library for accessing the GitLab API, it's a fork of the go-github library go-github. Thanks go to everyone who has contributed to the go-github project for creating the client library used to build this client.

go-gitlab requires Go version 1.1 or greater.

Usage

import "github.com/bigkraig/go-gitlab/gitlab"

Create a new GitLab client and search for a project:

client := gitlab.NewClient("http://gitlab.example.com/api/v3/", "API SECRET KEY")
opts := &gitlab.SearchOptions{gitlab.ListOptions{Page: 1}}
projects, _, err := client.Search.Projects("my project", opts)

For complete usage of go-gitlab, see the full package docs.

License

This library is distributed under the BSD-style license found in the LICENSE file.

Directories

Path Synopsis
examples
tests
fields
This tool tests for the JSON mappings in the go-github data types.
This tool tests for the JSON mappings in the go-github data types.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL