Documentation
¶
Index ¶
- Constants
- func ByteCountSI(b uint64) string
- func ConvertBytes(bytes int64, u float64) float64
- func GetExecutablePath() (string, error)
- func GetPDFPath() (string, error)
- func GetRoot() (string, error)
- func RandString(length int) string
- func StringWithCharset(length int, charset string) string
- type Unit
Constants ¶
View Source
const ( BYTE = 1 << (10 * iota) KILOBYTE MEGABYTE GIGABYTE TERABYTE PETABYTE EXABYTE )
Variables ¶
This section is empty.
Functions ¶
func ByteCountSI ¶
func ConvertBytes ¶
func GetExecutablePath ¶
func GetPDFPath ¶
func RandString ¶
func StringWithCharset ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.