Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.26 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.26 KB

go-azuredevops

GoDoc Quality Gate Status Go Report Card

go-azuredevops is a Go client library for accessing the Azure DevOps API. This is very much work in progress, so at the moment supports a small subset of the API.

Services

There is partial implementation for the following services

  • Boards
  • Builds
  • Favourites
  • Iterations
  • Pull Requests
  • Work Items

Usage

import "github.com/benmatselby/go-azuredevops/azuredevops

Construct a new Azure DevOps Client

v := azuredevops.NewClient(account, project, token)

Get a list of iterations

iterations, error := v.Iterations.List(team)
if error != nil {
    fmt.Println(error)
}

for index := 0; index < len(iterations); index++ {
    fmt.Println(iterations[index].Name)
}