ficsitapp

package
v1.0.0-pr1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadModLatest

func DownloadModLatest(modID string) (bool, error)

DownloadModLatest downloads the latest version of the mod

func DownloadModVersion

func DownloadModVersion(modID string, version string) (bool, error)

DownloadModVersion downloads the specified version of the mod

func GetLatestModVersion

func GetLatestModVersion(modID string) string

GetLatestModVersion gets the latest version of the mod

func GetModFromVersionConstraint

func GetModFromVersionConstraint(modID string, versionConstraint string) (string, error)

GetModFromVersionConstraint returns the latest mod version which meets a constraint

Types

type ModVersion

type ModVersion struct {
	Version   string
	Stability string
}

ModVersion from ficsit.app

func GetModVersions

func GetModVersions(modID string) []ModVersion

GetModVersions gets the versions of the mod

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL