yaml

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode[T any](b []byte) (value T, err error)

func Encode

func Encode(data any) (value []byte, err error)

func GetConfigFile

func GetConfigFile[T any](paths ...any) (value T, err error)

func Read

func Read[T any](reader io.Reader) (value T, err error)

func ReadFile

func ReadFile[T any](name string) (value T, err error)

func ReadFileFS added in v1.5.1

func ReadFileFS[T any](name string, fsys fs.FS) (value T, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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