config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchitecturyDevelopConfig

type ArchitecturyDevelopConfig struct {
	Api string `yaml:"api"`
}

type Config

type Config struct {
	Develop DevelopConfig `yaml:"develop"`
}

func DefaultConfig

func DefaultConfig() Config

func Load

func Load() (*Config, error)

func (*Config) Save

func (c *Config) Save() error

type DevelopConfig

type DevelopConfig struct {
	Architectury ArchitecturyDevelopConfig `yaml:"architectury"`
	Fabric       FabricDevelopConfig       `yaml:"fabric"`
	Forge        ForgeDevelopConfig        `yaml:"forge"`
	Quilt        QuiltDevelopConfig        `yaml:"quilt"`
}

type FabricDevelopConfig

type FabricDevelopConfig struct {
	Game   string `yaml:"game"`
	Yarn   string `yaml:"yarn"`
	Loader string `yaml:"loader"`
	Api    string `yaml:"api"`
}

type ForgeDevelopConfig

type ForgeDevelopConfig struct {
	Api string `yaml:"api"`
}

type QuiltDevelopConfig

type QuiltDevelopConfig struct {
	Game                 string `yaml:"game"`
	QuiltMappings        string `yaml:"quiltMappings"`
	QuiltMappingsOnLoom  string `yaml:"quiltMappingsOnLoom"`
	Loader               string `yaml:"loader"`
	QuiltStandardLibrary string `yaml:"quiltStandardLibrary"`
	QuiltedFabricApi     string `yaml:"quiltedFabricApi"`
}

Jump to

Keyboard shortcuts

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