Discover Packages
gabe565.com/utils
coloryaml
package
Version:
v0.0.0-...-152b8de
Opens a new window with list of versions in this module.
Published: Dec 13, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Colorize takes a serialized YAML string and returns it with ANSI color codes.
Printer returns a printer.Printer pre-configured to add ANSI color codes to YAML.
WriteString writes a YAML string to the given io.Writer.
The written data will be colorized if termx.IsColor returns true,
and the output will always end with a new line character.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.