package
Version:
v0.77.0
Opens a new window with list of versions in this module.
Published: Apr 10, 2023
License: GPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ToYaml(v interface{}) string
toYAML takes an interface, marshals it to yaml, and returns a string. It will
always return a string, even on marshal error (empty string).
This is designed to be called from a template.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.