memory

package
v0.0.0-...-110d06e Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Size

type Size float64

Size 内存大小(单位:字节)

Reference:https://golang.org/doc/effective_go#constants
const (
	KB Size = 1 << (10 * iota) // 千字节
	MB                         // 兆字节
	GB                         // 吉字节/千兆
	TB                         // 太字节
	PB                         // 拍字节
	EB                         // 艾字节
	ZB                         // 泽字节
	YB                         // 尧字节
)

func (Size) String

func (b Size) String() string

Jump to

Keyboard shortcuts

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