templatewriter

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(writer io.Writer, t string, v interface{}) error

Print outputs v to os.Stdout while handling configured formats, if the optional t is given then it's processed as a go-template, this template will be handled with a tabwriter so you can use tabs (\t) and new lines (\n) to space your content evenly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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