printf

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(format string, args []string) (string, error)

Format formats a string using printf-style format specifiers

func Run

func Run(w io.Writer, args []string, opts Options) error

Run executes the printf command

Types

type Options

type Options struct {
	NoNewline bool // don't append newline
}

Options configures the printf command behavior

Jump to

Keyboard shortcuts

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