Documentation ¶
Index ¶
- func LatestForgeMavenVersion(m MavenMeta, mc string) (string, bool)
- func LatestMavenVersion(m MavenMeta, mc string) (string, bool)
- func LatestNeoForgeMavenVersion(m MavenMeta, mc string) (string, bool)
- type ApiMetaVersioning
- type GameVersionMeta
- type LoaderVersionMeta
- type MavenMeta
- type MavenMetaVersioningVersions
- type ModrinthVersion
- type ModrinthVersionList
- type YarnVersionMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiMetaVersioning ¶
type ApiMetaVersioning struct { Text string `xml:",chardata"` Latest string `xml:"latest"` Release string `xml:"release"` Versions MavenMetaVersioningVersions `xml:"versions"` LastUpdated string `xml:"lastUpdated"` }
type GameVersionMeta ¶
type LoaderVersionMeta ¶
type ModrinthVersion ¶ added in v0.0.11
type ModrinthVersion struct { GameVersions []string `json:"game_versions"` Loaders []string `json:"loaders"` VersionNumber *semver.Version `json:"version_number"` }
func (ModrinthVersion) GetVersion ¶ added in v0.0.11
func (v ModrinthVersion) GetVersion() string
type ModrinthVersionList ¶ added in v0.0.11
type ModrinthVersionList []ModrinthVersion
func (ModrinthVersionList) FilterGameVersions ¶ added in v0.0.11
func (m ModrinthVersionList) FilterGameVersions(gameVersion string) ModrinthVersionList
func (ModrinthVersionList) GetLatest ¶ added in v0.0.11
func (m ModrinthVersionList) GetLatest() string
type YarnVersionMeta ¶
type YarnVersionMeta struct { GameVersion string `json:"gameVersion"` Separator string `json:"separator"` Build int `json:"build"` Maven string `json:"maven"` Version string `json:"version"` Stable bool `json:"stable"` }
func LatestYarnVersion ¶
func LatestYarnVersion(v []YarnVersionMeta, mc string) (YarnVersionMeta, bool)
Click to show internal directories.
Click to hide internal directories.