input

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUsage = errors.New("usage error")

ErrUsage signals a client-side validation/conflict error (exit code 2).

Functions

func ResolveBody

func ResolveBody(inline, file string) ([]byte, error)

ResolveBody picks exactly one body source from -b, -f, or piped stdin. Returns ErrUsage wrapped with a human message when sources conflict or none provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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