output

package
v1.0.52 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(docs []*document.Document, ft *format.Format, env map[string]string) ([]byte, error)

Bytes returns all documents encoded in the specified format and merged into a stream.

func Document

func Document(docs []*document.Document, doc *document.Document, env map[string]string) ([]any, error)

Document returns the output objects generated by the specified document.

func Documents

func Documents(docs []*document.Document, env map[string]string) ([]any, error)

Documents returns the output objects generated by all documents.

func FilterOutput

func FilterOutput(obj any) (any, bool, error)

func FinalizeOutput

func FinalizeOutput(obj any) any

func FindOutputs

func FindOutputs(obj any) (any, []any, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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