Documentation ¶
Index ¶
Constants ¶
View Source
const (
GITHUB_RELEASES_URL_TEMPLATE = "https://api.github.com/repos/{{ .UserName }}/{{ .RepoName }}/releases/latest"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EArtifactType ¶
type EArtifactType int
type FArtifact ¶
type FArtifact struct { ArtifactType EArtifactType `json:"type"` Url string `json:"url"` BinaryPath string `json:"binaryPath"` Alias string `json:"alias"` // contains filtered or unexported fields }
func (FArtifact) BuildSymLinkPath ¶
type FPackage ¶
type FPackage struct { Name string `json:"name"` Repo string `json:"repo"` Artifact FArtifact `json:"artifact"` }
func (*FPackage) FetchLatestArtifact ¶
func (*FPackage) GetLatestVersionString ¶
type FRegistry ¶
type FRegistry struct {
Pkgs []FPackage `json:"pkgs"`
}
func LoadRegistryFromFile ¶
type FUrlBuilderParams ¶
type FUrlBuilderParams struct {
Version string
}
Click to show internal directories.
Click to hide internal directories.