INNER CODE UNIT · Go

URL

ghostsecurity/reaper · version/version.go:13

func URL() string {
	if strings.HasPrefix(Version, "v") {
		return fmt.Sprintf("%s/releases/tag/%s", repoURL, Version)
	}
	if Version == "development" {
		return repoURL
	}
	return fmt.Sprintf("%s/commit/%s", repoURL, Version)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…