yaml

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TempFile

func TempFile(name string, v interface{}) (string, error)

TempFile serializes v to a file with the given name and stores it in a temp directory. Returns the path to the temp file if successful.

func WriteFile

func WriteFile(name string, v interface{}) error

WriteFile serializes v to a file with the given name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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