github

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIssue

func CreateIssue(owner, repo, token, title string, body []byte, labels []string) error

func CreateLabel

func CreateLabel(owner, repo, token, name string) error

Types

type ConsumedLicenses

type ConsumedLicenses struct {
	TotalSeatsConsumed  int `json:"total_seats_consumed"`
	TotalSeatsPurchased int `json:"total_seats_purchased"`
}

func GetConsumedLicenses

func GetConsumedLicenses(enterprise string, token string) (*ConsumedLicenses, error)

type Issue

type Issue struct {
	Body string `json:"body"`
}

func GetLatestIssueWithLabel

func GetLatestIssueWithLabel(owner, repo, label, token string) (*Issue, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL