format

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2020 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PadWithZero

func PadWithZero(i int) string

PadWithZero returns a string representation of i (0 <= i < 10) padded with '0' in front, else it returns a string representation of i. For example: '0' => '00', '1' => '01' etc.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL