{"modulePath":"github.com/davidmogar/application-service","version":"v0.0.0-20220310094118-8019b93e4737","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Constants\n\n```go\nconst AppStudioAppDataOrg = \"redhat-appstudio-appdata\"\n```\n\n## Functions\n\n```go\nfunc DeleteRepository(client *github.Client, ctx context.Context, orgName string, repoName string) error\n```\nDelete Repository takes in the given repository URL and attempts to delete it\n\n```go\nfunc GenerateNewRepository(client *github.Client, ctx context.Context, orgName string, repoName string, description string) (string, error)\n```\n\n```go\nfunc GenerateNewRepositoryName(displayName string, namespace string) string\n```\n\n```go\nfunc GetMockedClient() *github.Client\n```\nGetMockedClient returns a simple mocked go-github client\n\n```go\nfunc GetRepoNameFromURL(repoURL string, orgName string) (string, error)\n```\nGetRepoNameFromURL returns the repository name from the Git repo URL\n\n","path":"github.com/davidmogar/application-service/pkg/github","name":"github","synopsis":"","isRedistributable":true}
