circleci.go
func (c *Client) GetCheckoutKey(account, repo, fingerprint string) (*CheckoutKey, error) {
	checkoutKey := &CheckoutKey{}

	err := c.request("GET", fmt.Sprintf("project/%s/%s/checkout-key/%s", account, repo, fingerprint), &checkoutKey, nil, nil)
	if err != nil {
		return nil, err
	}

	return checkoutKey, nil
}
func (c *Client) GetCheckoutKey(account, repo, fingerprint string) (*CheckoutKey, error) {
	checkoutKey := &CheckoutKey{}

	err := c.request("GET", fmt.Sprintf("project/%s/%s/checkout-key/%s", account, repo, fingerprint), &checkoutKey, nil, nil)
	if err != nil {
		return nil, err
	}

	return checkoutKey, nil
}
func ( c * Client ) GetCheckoutKey ( account , repo , fingerprint string ) ( * CheckoutKey , error ) { checkoutKey := & CheckoutKey { } err := c . request ( " " , fmt . Sprintf ( " " , account , repo , fingerprint ) , & checkoutKey , nil , nil ) if err != nil { return nil , err } return checkoutKey , nil }
// GetCheckoutKey fetches the checkout key for the given project by fingerprint
GetCheckoutKey fetches the checkout key for the given project by fingerprint