Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMyUserLogin ¶
func GetMyUserLogin() string
Types ¶
type Commit ¶
type GetRepoOptions ¶
type GetRepoOptions struct {
Json string
}
GetRepoOptions struct to represent the options for getting a repository
type GetRepoResponse ¶
type GetRepoResponse struct { AssignableUsers []RepoAssignableUser `json:"assignableUsers"` DefaultBranchRef RepoDefaultBranchRef `json:"defaultBranchRef"` ID string `json:"id"` Owner RepoOwner `json:"owner"` Name string `json:"name"` }
GetRepoResponse struct to represent the response of getting a repository
type Repo ¶
type Repo struct {
RepoName string
}
func (*Repo) Get ¶
func (r *Repo) Get( options GetRepoOptions, ) GetRepoResponse
GetRepo function to get the detail of a repository
type RepoAssignableUser ¶
type RepoAssignableUser struct { ID string `json:"id"` Login string `json:"login"` Name string `json:"name"` }
RepoAssignableUser struct to represent an assignable user
type RepoDefaultBranchRef ¶
type RepoDefaultBranchRef struct {
Name string `json:"name"`
}
RepoDefaultBranchRef struct to represent the default branch of a repository
Click to show internal directories.
Click to hide internal directories.