Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1019 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 1019 Bytes

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())