Versions in this module Expand all Collapse all v0 v0.1.3 Oct 1, 2022 v0.1.2 Oct 1, 2022 v0.1.1 Oct 1, 2022 Changes in this version + type Dependency struct + Mod *Mod + SiteModID string + SiteType SiteType + Type DependencyType + VersionID string + type DependencyType string + const DependencyTypeIncompatible + const DependencyTypeOptional + const DependencyTypeRequired + const DependencyTypeUnknown + type File struct + DownloadURL string + Filename string + Size int + type JarInfo struct + Description string + ModLoaders ModLoader + Name string + NameID string + VersionNumber string + type MCVersion string + func (v MCVersion) IsSet() bool + func (v MCVersion) String() string + type MCVersions []MCVersion + func (v MCVersions) Contains(version MCVersion) bool + type Mod struct + ID string + NameID string + Sites ModSites + Timestamp time.Time + type ModLoader uint32 + const ModLoaderBukkit + const ModLoaderFabric + const ModLoaderForge + const ModLoaderNone + const ModLoaderPaper + const ModLoaderQuilt + const ModLoaderSpigot + const ModLoaderSponge + const ModLoaderUnknown + func NewModLoaderFromString(s string) ModLoader + func (m ModLoader) Has(other ModLoader) bool + func (m ModLoader) String() string + type ModSite struct + Description string + ID string + MCVersions MCVersions + ModLoaders ModLoader + Name string + Published time.Time + Slug string + Timestamp time.Time + Type SiteType + Updated time.Time + func (m ModSite) HasModLoader(modLoader ModLoader) bool + type ModSites []ModSite + func (m ModSites) GetType(Type SiteType) (int, *ModSite) + type SiteType string + const SiteTypeCurse + const SiteTypeModrinth + type Stability string + const StabilityAlpha + const StabilityBeta + const StabilityRelease + const StabilityUnknown + type Version struct + Dependencies []Dependency + File File + MCVersions MCVersions + ModID string + ModLoader ModLoader + Number string + SiteModID string + SiteType SiteType + SiteVersionID string + Stability Stability + Timestamp time.Time + UploadTime time.Time