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.
There is partial implementation for the following services
- Boards
- Builds
- Favourites
- Iterations
- Pull Requests
- Work Items
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)
}