Versions in this module Expand all Collapse all v1 v1.1.2 Oct 17, 2026 v1.1.1 Oct 17, 2026 Changes in this version + const IssuesFile + const PullsFile + const ReleasesFile + const RulesetsFile + var OrgFiles = []string + var UserFiles = []string + func AssetPath(metaDir string, release *gh.RepositoryRelease, asset *gh.ReleaseAsset) string + func OwnerDir(target, login string) string + func RepoDir(target, owner, repo string) string + type Discussion struct + Author json.RawMessage + Body string + Category json.RawMessage + Closed bool + Comments connection[DiscussionComment] + CreatedAt string + ID string + Labels json.RawMessage + Locked bool + Number int + Title string + URL string + UpdatedAt string + type DiscussionComment struct + Author json.RawMessage + Body string + CreatedAt string + ID string + IsAnswer bool + Replies connection[json.RawMessage] + URL string + UpdatedAt string + type Exporter struct + Verbose bool + func New(client *gh.Client, download *http.Client, target string) *Exporter + func (e *Exporter) ExportOrg(ctx context.Context, org string, rep *Report) + func (e *Exporter) ExportRepo(ctx context.Context, repo *gh.Repository, rep *Report) + func (e *Exporter) ExportUser(ctx context.Context, login string, rep *Report) + type IssueExport struct + Comments []*gh.IssueComment + Issue *gh.Issue + type Project struct + Closed bool + CreatedAt string + Fields connection[json.RawMessage] + ID string + Items []json.RawMessage + Number int + Public bool + Readme string + ShortDescription string + Title string + URL string + UpdatedAt string + type PullExport struct + Comments []*gh.IssueComment + Pull *gh.PullRequest + ReviewComments []*gh.PullRequestComment + Reviews []*gh.PullRequestReview + type Report struct + Exported []string + Failed map[string]error + Warnings []string + func NewReport() *Report