Documentation ¶
Overview ¶
Package format implements various formatting functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LeftPaddingWithSize ¶
LeftPaddingWithSize pads the string s with enough of character ch to the length l. For example: LeftPaddingWithSize(10, "hello", "*") will produce the string "*****hello"
func PadZeroToNineWithZero ¶
PadZeroToNineWithZero pad i with '0' in front. For example: '0' => '00', '1' => '01' ... '9' => '09'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.