woodpecker/vendor/github.com/Bugagazavr/go-gitlab-client
2015-09-29 17:34:44 -07:00
..
examples moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
stubs moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
.gitignore moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
.travis.yml moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
deploy_keys.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
events.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
gitlab.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
gitlab_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
helper_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
hook_payload.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
hook_payload_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
hooks.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
hooks_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
Makefile moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
projects.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
projects_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
public_keys.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
public_keys_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
README.md moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
repositories.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
repositories_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
services.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
session.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
session_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
users.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
users_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
util.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00
util_test.go moving from Godeps to Go 1.5 vendoring 2015-09-29 17:34:44 -07:00

go-gitlab-client

This is a fork of project https://github.com/plouc/go-gitlab-client

go-gitlab-client is a simple client written in golang to consume gitlab API.

Build Status

##features

  • ###Session gitlab api doc

    • get session
  • ###Projects gitlab api doc

    • list projects
    • get single project
    • list project merge requests
    • list notes on merge requests
    • add comments to merge requests
  • ###Repositories gitlab api doc

    • list repository branches
    • get single repository branch
    • list project repository tags
    • list repository commits
    • list project hooks
    • add/get/edit/rm project hook
  • ###Users gitlab api doc

    • get single user
    • manage user keys
  • ###Deploy Keys gitlab api doc

    • list project deploy keys
    • add/get/rm project deploy key

##Installation

To install go-gitlab-client, use go get:

go get github.com/bugagazavr/go-gitlab-client

Import the go-gitlab-client package into your code:

package whatever

import (
    "github.com/bugagazavr/go-gitlab-client"
)

##Update

To update go-gitlab-client, use go get -u:

go get -u github.com/bugagazavr/go-gitlab-client

##Documentation

Visit the docs at http://godoc.org/github.com/Bugagazavr/go-gitlab-client

Examples

You can play with the examples located in the examples directory