strproc

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Ki = "Ki" // 1*1024
	Mi = "Mi" // 1*1024*1024
	Gi = "Gi" // 1*1024*1024*1024
	Ti = "Ti" // 1*1024*1024*1024*1024
	Pi = "Pi" // 1*1024*1024*1024*1024*1024
	Ei = "Ei" // 1*1024*1024*1024*1024*1024*1024
)

Variables

This section is empty.

Functions

func BinaryUnitConvert added in v1.7.0

func BinaryUnitConvert(data, expectUnit string) (float64, error)

BinaryUnitConvert convert data by given expect unit.

func Str2int

func Str2int(str string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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