yaml

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 5 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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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