PadLeft
Pads the given string from the start with spaces until the resulting string reaches the given length.
- Use
fmt.Sprintf()
wih an appropriate format specifier to return the formatted value.
Pads the given string from the start with spaces until the resulting string reaches the given length.
fmt.Sprintf()
wih an appropriate format specifier to return the formatted value.