Documentation
¶
Overview ¶
Package mock provides mock servers for testing the GitHub client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseResponse ¶
type ReleaseResponse struct {
TagName string `json:"tag_name"`
}
ReleaseResponse represents a release from the GitHub API.
type Server ¶
Server provides a mock GitHub API server for testing.
func (*Server) AddReleases ¶
AddReleases adds releases for a repository.
type TagResponse ¶
type TagResponse struct {
Ref string `json:"ref"`
}
TagResponse represents a tag from the GitHub API.
Click to show internal directories.
Click to hide internal directories.