yaml

package
v0.0.0-...-71c6e05 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetYamlFilenamesFromDir

func GetYamlFilenamesFromDir(dirName string) (yamlFilenames []string, err error)

GetYamlFilenamesFromDir takes a directory name as input and returns a list of names of all yaml files within that dir and its subdirectories. All returned paths are prefixed with the provided path argument.

func ReadYamlFile

func ReadYamlFile(filename string, ct interface{}) (err error)

ReadYamlFile reads the yaml file from the provided location and stores the data into the provided object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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