yaml

package
v0.0.0-...-8705ae5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToObject

func BytesToObject(yamlBytes []byte, objToPopulate interface{}) error

BytesToObject populates an object's properties from the contents of a yaml file. NOTE: ALWAYS pass objToPopulate as a pointer.

func ObjectToBytes

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

ObjectToBytes converts an object into yaml bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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