package
1.24.4
Repository: https://pkg.go.dev/std
Documentation: pkg.go.dev

# Functions

Append formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice.
Appendf formats according to a format specifier, appends the result to the byte slice, and returns the updated slice.
Appendln formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
FormatString returns a string representing the fully qualified formatting directive captured by the [State], followed by the argument verb.
Fprint formats using the default formats for its operands and writes to w.
Fprintf formats according to a format specifier and writes to w.
Fprintln formats using the default formats for its operands and writes to w.
Fscan scans text read from r, storing successive space-separated values into successive arguments.
Fscanf scans text read from r, storing successive space-separated values into successive arguments as determined by the format.
Fscanln is similar to [Fscan], but stops scanning at a newline and after the final item there must be a newline or EOF.
Print formats using the default formats for its operands and writes to standard output.
Printf formats according to a format specifier and writes to standard output.
Println formats using the default formats for its operands and writes to standard output.
Scan scans text read from standard input, storing successive space-separated values into successive arguments.
Scanf scans text read from standard input, storing successive space-separated values into successive arguments as determined by the format.
Scanln is similar to [Scan], but stops scanning at a newline and after the final item there must be a newline or EOF.
Sprint formats using the default formats for its operands and returns the resulting string.
Sprintf formats according to a format specifier and returns the resulting string.
Sprintln formats using the default formats for its operands and returns the resulting string.
Sscan scans the argument string, storing successive space-separated values into successive arguments.
Sscanf scans the argument string, storing successive space-separated values into successive arguments as determined by the format.
Sscanln is similar to [Sscan], but stops scanning at a newline and after the final item there must be a newline or EOF.

# Interfaces

Formatter is implemented by any value that has a Format method.
GoStringer is implemented by any value that has a GoString method, which defines the Go syntax for that value.
Scanner is implemented by any value that has a Scan method, which scans the input for the representation of a value and stores the result in the receiver, which must be a pointer to be useful.
ScanState represents the scanner state passed to custom scanners.
State represents the printer state passed to custom formatters.
Stringer is implemented by any value that has a String method, which defines the “native” format for that value.