strproc

package
v0.0.0-...-1d80bfb Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 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

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