Skip to content

suhaibmujahid/go-bitbucket-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-bitbucket-server

Go

go-bitbucket-server is a Go client library for accessing the Bitbucket Server API v1.

This client is under development , I started with endpoints that is important to me. The goal eventually is to cover the all endpoints. Pull requests are welcomed to implement missed endpoints or fix bugs.

The interface design of this package was inspired by google/go-github and andygrunwald/go-jira.

Usage

import "github.com/suhaibmujahid/go-bitbucket-server/bitbucket"

client := bitbucket.NewServerClient("http://localhost:7990/rest/api/1.0/", http.DefaultClient)

// retrieve the authenticated user
user, _, err := client.Users.Myself(context.Background())