Categorygithub.com/pmenglund/go-buildkite
repository
1.0.0
Repository: https://github.com/pmenglund/go-buildkite.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

buildkite-go GoDoc Build status

A golang client for the buildkite API. This project draws a lot of it's structure and testing methods from go-github.

Usage

Simple example for listing all projects is provided below, see examples for more.


config, err := buildkite.NewTokenConfig(*apiToken)

if err != nil {
	log.Fatalf("client config failed: %s", err)
}

client := buildkite.NewClient(config.Client())

projects, _, err := client.Projects.List(*org, nil)

Disclaimer

This is currently very early release, not everything in the buildkite API is present here YET.

License

This library is distributed under the BSD-style license found in the LICENSE file.