Documentation
¶
Overview ¶
Package github collects an organization's team/member/repo/CODEOWNERS topology from the GitHub REST API into a canonical, JSON-serializable model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps go-gh REST clients. rest decodes JSON; raw fetches file contents with the raw Accept header (for CODEOWNERS).
type Org ¶
type Org struct {
Org string `json:"org"`
CollectedAt string `json:"collected_at"`
Teams []Team `json:"teams"`
}
Org is the canonical, hand-editable data model. Its JSON shape matches the legacy /gh-org-chart cache so existing <org>-org.json files remain readable.
Click to show internal directories.
Click to hide internal directories.