config

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFile

func LoadFile(fileName string) (b []byte, err error)

func Parse

func Parse(out interface{}, config []byte) error

Parse parses the given YAML config from the byte slice and assigns decoded values into the out value.

func ParseFile

func ParseFile(out interface{}, path string) error

ParseFile parses the given YAML config file from the byte slice and assigns decoded values into the out value.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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