Documentation
¶
Index ¶
- func GoGet(path ...string) error
- func GosHomeWithDir(dir string) string
- func ModulePath(filename string) (string, error)
- func ModuleVersion(path string) (string, error)
- func ParseCommitsInfo(info []CommitInfo) string
- func ParseGithubUrl(url string) (owner string, repo string)
- func ParseReleaseInfo(info ReleaseInfo) string
- func Tree(path string, dir string)
- type CommitInfo
- type ErrorInfo
- type GithubApi
- type ReleaseInfo
- type Repo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GosHomeWithDir ¶
func ModulePath ¶
ModulePath returns go module path.
func ModuleVersion ¶
ModuleVersion returns module version.
func ParseCommitsInfo ¶
func ParseCommitsInfo(info []CommitInfo) string
func ParseGithubUrl ¶
func ParseReleaseInfo ¶
func ParseReleaseInfo(info ReleaseInfo) string
Types ¶
type CommitInfo ¶
type CommitInfo struct { Commit struct { Message string `json:"message"` } `json:"commit"` }
type GithubApi ¶
func (*GithubApi) GetCommitsInfo ¶
func (g *GithubApi) GetCommitsInfo() []CommitInfo
GetCommitsInfo for getting goatkit commits info.
func (*GithubApi) GetReleaseInfo ¶
func (g *GithubApi) GetReleaseInfo(version string) ReleaseInfo
GetReleaseInfo for getting goatkit release info.
type ReleaseInfo ¶
Click to show internal directories.
Click to hide internal directories.