size

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Package size さくらのクラウドでのサイズ(MiB/GiB)

MBを起点としてGiBへの変換などを行う

Index

Constants

View Source
const (
	// MiB 1024KiB
	MiB = 1
	// GiB 1024MiB
	GiB = 1024 * MiB
	// TiB 1024GiB
	TiB = 1024 * GiB
	// PiB 1024TiB
	PiB = 1024 * TiB
)

Variables

This section is empty.

Functions

func GiBToMiB

func GiBToMiB(sizeGiB int) int

GiBToMiB GiBからMiB

func MiBToGiB

func MiBToGiB(sizeMiB int) int

MiBToGiB MiBからGiB

Types

This section is empty.

Jump to

Keyboard shortcuts

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