{"modulePath":"github.com/driangle/taskmd/apps/cli","version":"v0.0.0-20261105072926-5f6f96789b57","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Functions\n\n```go\nfunc DetectRepo() string\n```\nDetectRepo attempts to parse owner/repo from the git remote origin URL. Returns empty string if detection fails.\n\n```go\nfunc ParseRepoFromRemote(remote string) string\n```\nParseRepoFromRemote extracts owner/repo from an SSH or HTTPS git remote URL.\n\n## Types\n\n```go\ntype GitHubSource struct {\n\t// HTTPClient allows injecting a custom client for testing. Nil uses http.DefaultClient.\n\tHTTPClient *http.Client\n}\n```\nGitHubSource fetches tasks from GitHub Issues.\n\n```go\nfunc (g *GitHubSource) FetchTasks(cfg sync.SourceConfig) ([]sync.ExternalTask, error)\n```\n\n```go\nfunc (g *GitHubSource) Name() string\n```\n\n```go\nfunc (g *GitHubSource) ValidateConfig(cfg sync.SourceConfig) error\n```\n\n","path":"github.com/driangle/taskmd/apps/cli/internal/sync/github","name":"github","synopsis":"","isRedistributable":true}
