Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubMock ¶
type GitHubMock struct{}
GitHubMock implements GitHubInterface.
func (*GitHubMock) NewClient ¶
func (g *GitHubMock) NewClient(httpClient *http.Client) blogo.GitHubClient
NewClient something
type OAuth2Mock ¶
type OAuth2Mock struct{}
func (OAuth2Mock) AuthCodeURL ¶
func (o OAuth2Mock) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string
type Oauth2HandlerMock ¶
type Oauth2HandlerMock struct{}
func (Oauth2HandlerMock) DevOauthAuthorize ¶
func (h Oauth2HandlerMock) DevOauthAuthorize(ctx *gin.Context)
type RepositoriesMock ¶
type RepositoriesMock struct {
blogo.RepositoriesService
}
RepositoriesMock mocks RepositoriesService
Click to show internal directories.
Click to hide internal directories.