printer

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package printer is replacement for fmt.* functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, v ...any) error

Errorf wraps fmt.Errorf and returns a formatted error message

func Fprint

func Fprint(w io.Writer, v ...any)

Fprint wraps fmt.Fprint and writes to the provided io.Writer, handling errors

func Fprintf

func Fprintf(w io.Writer, format string, v ...any)

Fprintf wraps fmt.Fprintf and writes formatted output to the provided io.Writer, handling errors

func Fprintln

func Fprintln(w io.Writer, v ...any)

Fprintln wraps fmt.Fprintln and writes to the provided io.Writer, handling errors

func Print

func Print(v ...any)

Print wraps fmt.Print and handles errors

func Printf

func Printf(format string, v ...any)

Printf wraps fmt.Printf and handles errors

func Println

func Println(v ...any)

Println wraps fmt.Println and handles errors

func Printlnjson added in v1.14.0

func Printlnjson(v ...any)

Printlnjson wraps fmt.Println and handles errors

func PrintlnjsonIndent added in v1.14.0

func PrintlnjsonIndent(v ...any)

PrintlnjsonIndent wraps fmt.Println and haindles errors

Types

This section is empty.

Jump to

Keyboard shortcuts

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