fmtPrintf
fmt.Printf is a function in the Go standard library’s fmt package that formats its arguments according to a format specifier and writes the result to standard output. It is widely used for console output and quick debugging, and it supports a broad set of formatting verbs, flags, width, and precision options.
The function signature is: func Printf(format string, a ...interface{}) (n int, err error). It writes to os.Stdout
Formatting verbs and capabilities: The format string can contain verbs such as %v (default formatting), %+v (adds
Usage notes: fmt.Printf is suitable for inline, immediate output. For string construction without printing, use fmt.Sprintf;