Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadMod ¶
func LatestRelease ¶
func LatestRelease() string
Types ¶
type Mod ¶
type Mod struct {
Category string `json:"category"`
DownloadsCount int `json:"downloads_count"`
LastHighlightedAt string `json:"last_highlighted_at"`
Name string `json:"name"`
Owner string `json:"owner"`
Releases []struct {
DownloadUrl string `json:"download_url"`
FileName string `json:"file_name"`
InfoJson struct {
FactorioVersion string `json:"factorio_version"`
} `json:"info_json"`
ReleasedAt time.Time `json:"released_at"`
Sha1 string `json:"sha1"`
Version string `json:"version"`
} `json:"releases"`
Score float64 `json:"score"`
Summary string `json:"summary"`
Thumbnail string `json:"thumbnail"`
Title string `json:"title"`
}
func GetModInfo ¶
Click to show internal directories.
Click to hide internal directories.