Skip to content
/ gitlab Public

Gitlab API designed with cooperative access for multiple users to single gitlab instance in mind

License

Notifications You must be signed in to change notification settings

sirkon/gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GITLAB API library

This library is aimed for cooperative access of many users to a single gitlab instance.

Usage

package main

import (
	"context"
	"log"
	
	"github.com/sirkon/gitlab"
)

func main() {
	access := gitlab.NewAPIAccess(nil, "gitlab.com/api/v4")
	client := access.Client("user-token")
	
	tags, err := client.Tags(context.Background(), "user/project", "")
	if err != nil {
		log.Fatal(err)
	}
	
	log.Printf("%#v", tags)
}

About

Gitlab API designed with cooperative access for multiple users to single gitlab instance in mind

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages