Documentation
¶
Index ¶
- Constants
- func BitSize[V umath.AnyInt](v V) string
- func BitSizeDense[V umath.AnyInt](v V) string
- func BitSpeed[V umath.AnyInt](v V) string
- func BitSpeedDense[V umath.AnyInt](v V) string
- func Bool(v bool, yes, no string) string
- func ByteSize[V umath.AnyInt](v V) string
- func ByteSizeDense[V umath.AnyInt](v V) string
- func ByteSpeed[V umath.AnyInt](v V) string
- func ByteSpeedDense[V umath.AnyInt](v V) string
- func EnableDisable(v bool) string
- func Hex(buf []byte) string
- func Int[V umath.AnyInt](v V, ctx IntCtx) string
- func Join(v ...any) string
- func JoinWith(splitter string, v ...any) string
- func OnOff(v bool) string
- func Print(v ...any)
- func Printf(format string, v ...any)
- func WideInt[V umath.AnyInt](v V) string
- func YesNo(v bool) string
- type IntCtx
Constants ¶
View Source
const IntPrefix = "KMGTPE"
Variables ¶
This section is empty.
Functions ¶
func BitSizeDense ¶ added in v0.1.1
func BitSpeedDense ¶ added in v0.1.1
func ByteSizeDense ¶ added in v0.1.1
func ByteSpeedDense ¶ added in v0.1.1
func EnableDisable ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.