printfutil

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeEscapes

func DecodeEscapes(s string) (decoded string, stop bool, err error)

func IsHexDigit

func IsHexDigit(ch byte) bool

Types

type Options added in v0.0.23

type Options struct {
	LookupEnv func(name string) (string, bool)
	Now       func() time.Time
	StartTime time.Time
}

type Result added in v0.0.23

type Result struct {
	Output      string
	ExitCode    uint8
	Diagnostics []string
}

func Format

func Format(format string, args []string, opts Options) Result

Jump to

Keyboard shortcuts

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