config

package
v1.0.0-cli.0...-a3b83d0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(cfg Config) map[string][]string

Types

type Chunk

type Chunk struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Thumbnail   string   `json:"thumbnail"`
	Tags        []string `json:"tags"`
	Flavors     []Flavor `json:"flavors"`
}

type Config

type Config struct {
	Version string `json:"version"`
	Chunk   Chunk  `json:"chunk"`
}

func ReadWithResolvedPaths

func ReadWithResolvedPaths(configPath string) (Config, error)

type Flavor

type Flavor struct {
	Name             string `json:"name"`
	Version          string `json:"version"`
	MinecraftVersion string `json:"minecraftVersion"`
	Path             string `json:"path"`
}

Jump to

Keyboard shortcuts

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