printer

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 3 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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