Documentation
¶
Index ¶
- Variables
- func CGGenEvents(outputDir, url, cgeVersion, language string) error
- func CheckVersion()
- func ClientVersionFromCGVersion(owner, repo, cgVersion string) string
- func Execute(programName string, args ...string) error
- func ExecuteHidden(programName string, args ...string) (string, error)
- func ExecuteInDir(workingDir, programName string, args ...string) error
- func ExecuteInDirHidden(workingDir, programName string, args ...string) (string, error)
- func GetCGEVersion(baseURL string) (string, error)
- func GetEventNames(url, cgeVersion string) ([]string, error)
- func GetUsername() string
- func GithubTagFromVersion(owner, repo, version string) (string, error)
- func HasContentType(h http.Header, mimetype string) bool
- func InstallCGGenEvents(version string) (string, error)
- func IsInstalled(programName string) bool
- func LatestCGEVersion() (string, error)
- func LatestGithubTag(owner, repo string) (string, error)
- func OpenBrowser(url string) error
- func ParseCGEVersion(runes []rune) string
- func ParseVersion(version string) (int, int, int, error)
- func UntargzFile(source io.Reader, fileName, outputFileName string) error
- func UnzipFile(source io.Reader, fileName, outputFileName string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTagNotFound = errors.New("tag not found")
Functions ¶
func CGGenEvents ¶
func CheckVersion ¶ added in v0.4.1
func CheckVersion()
func ExecuteInDir ¶
func ExecuteInDirHidden ¶
func GetCGEVersion ¶ added in v0.4.2
func GetEventNames ¶ added in v0.4.2
requires cgeVersion >= 0.3
func GetUsername ¶
func GetUsername() string
func GithubTagFromVersion ¶
func InstallCGGenEvents ¶
func IsInstalled ¶
func LatestCGEVersion ¶ added in v0.2.0
func LatestGithubTag ¶ added in v0.2.0
func OpenBrowser ¶
func ParseCGEVersion ¶ added in v0.4.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.