resource

package
v0.0.0-...-5eee607 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = root.New("", "SEQUELL_ROOT", "HENZELL_ROOT")

Root is the resource root containing Sequell's config

Functions

func MustParseYAML

func MustParseYAML(path string) qyaml.YAML

MustParseYAML reads the YAML at path, panicking if there is an error. On panic, the panic value will be an Error.

func YAML

func YAML(path string) (qyaml.YAML, error)

YAML reads the YAML file at path.

Types

type Error

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

An Error is raised when a resource is not found, or could not be parsed.

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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