Skip to content

📕 A Go client library for accessing the Azure DevOps API

License

Notifications You must be signed in to change notification settings

benmatselby/go-azuredevops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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