formatters

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToYAML

func ConvertToYAML(data any) (string, error)

ConvertToYAML converts the provided value to a YAML string

Types

type Formatter

type Formatter func(w io.Writer, any interface{}) error

func Get

func Get(format string) Formatter

Jump to

Keyboard shortcuts

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