yaml

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(obj interface{}) ([]byte, error)

func MarshalFile

func MarshalFile(obj interface{}, path string) error

func MarshalString

func MarshalString(obj interface{}) (string, error)

func Parse

func Parse[T any](bs []byte) (*T, error)

func ParseFile

func ParseFile[T any](path string) (*T, error)

func ParseFileStrict

func ParseFileStrict[T any](path string) (*T, error)

func ParseStrict

func ParseStrict[T any](bs []byte) (*T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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