Documentation
¶
Overview ¶
Package printer is replacement for fmt.* functions
Index ¶
- func Errorf(format string, v ...any) error
- func Fprint(w io.Writer, v ...any)
- func Fprintf(w io.Writer, format string, v ...any)
- func Fprintln(w io.Writer, v ...any)
- func Print(v ...any)
- func Printf(format string, v ...any)
- func Println(v ...any)
- func Printlnjson(v ...any)
- func PrintlnjsonIndent(v ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fprintf ¶
Fprintf wraps fmt.Fprintf and writes formatted output to the provided io.Writer, handling 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.
Click to show internal directories.
Click to hide internal directories.