modrinth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppDb

type AppDb struct {
	// contains filtered or unexported fields
}

func NewAppDb

func NewAppDb(path string) (*AppDb, error)

func (*AppDb) Close

func (t *AppDb) Close() error

func (*AppDb) Profiles

func (t *AppDb) Profiles() (profiles []*Profile, err error)

type Modrinth

type Modrinth struct {
	// contains filtered or unexported fields
}

func New

func New(installDir string) (*Modrinth, error)

func (*Modrinth) Close

func (t *Modrinth) Close() error

func (*Modrinth) Profiles

func (t *Modrinth) Profiles() ([]*Profile, error)

type Profile

type Profile struct {
	Path             string
	Name             string
	GameVersion      string
	ModLoader        string
	ModLoaderVersion *string
	Created          time.Time
	Modified         time.Time
	LastPlayed       time.Time

	FullPath string
}

func (*Profile) String

func (t *Profile) String() string

Jump to

Keyboard shortcuts

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