{"modulePath":"github.com/VidwaDeSeram/IncentiCode_recode","version":"v1.0.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Functions\n\n```go\nfunc BuildGitHTTPURL(repoOwner, repoName string) entities.DevEnvRepositoryGitURL\n```\n\n```go\nfunc BuildGitURL(repoOwner, repoName string) entities.DevEnvRepositoryGitURL\n```\n\n## Types\n\n```go\ntype AuthenticatedUser struct {\n\tPrimaryEmail string\n\tUsername     string\n\tFullName     string\n}\n```\n\n```go\ntype ParsedGitHubRepositoryName struct {\n\tOwner         string\n\tExplicitOwner bool\n\tName          string\n}\n```\n\n```go\nfunc ParseRepositoryName(\n\trepositoryName string,\n\tdefaultRepositoryOwner string,\n) (*ParsedGitHubRepositoryName, error)\n```\n\n```go\ntype Service struct{}\n```\n\n```go\nfunc NewService() Service\n```\n\n```go\nfunc (s Service) CreateGPGKey(\n\taccessToken string,\n\tpublicKeyContent string,\n) (*github.GPGKey, error)\n```\n\n```go\nfunc (s Service) CreateRepository(\n\taccessToken string,\n\torganization string,\n\tproperties *github.Repository,\n) (*github.Repository, error)\n```\n\n```go\nfunc (s Service) CreateSSHKey(\n\taccessToken string,\n\tkeyPairName string,\n\tpublicKeyContent string,\n) (*github.Key, error)\n```\n\n```go\nfunc (s Service) DoesRepositoryExist(\n\taccessToken string,\n\trepositoryOwner string,\n\trepositoryName string,\n) (bool, error)\n```\n\n```go\nfunc (s Service) GetAuthenticatedUser(\n\taccessToken string,\n) (*AuthenticatedUser, error)\n```\n\n```go\nfunc (s Service) GetFileContentFromRepository(\n\taccessToken string,\n\trepositoryOwner string,\n\trepositoryName string,\n\tfilePath string,\n) (string, error)\n```\n\n```go\nfunc (s Service) IsInvalidAccessTokenError(err error) bool\n```\n\n```go\nfunc (s Service) IsNotFoundError(err error) bool\n```\n\n```go\nfunc (s Service) RemoveGPGKey(\n\taccessToken string,\n\tgpgKeyID int64,\n) error\n```\n\n```go\nfunc (s Service) RemoveSSHKey(\n\taccessToken string,\n\tsshKeyID int64,\n) error\n```\n\n","path":"github.com/VidwaDeSeram/IncentiCode_recode/github","name":"github","synopsis":"","isRedistributable":true}
