pack

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader added in v0.3.0

type Loader interface {
	Load(path string) (*Pack, error)
}

type Pack

type Pack struct {
	Name            string
	CommandEntities []command.CommandEntity
}

func NewPack added in v0.3.0

func NewPack(Name string, Commands []command.CommandEntity) *Pack

type Parser added in v0.3.0

type Parser interface {
	Parse(data map[string]interface{}, properties *command.Properties, loader Loader) ([]command.CommandEntity, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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