tools

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteCountIEC

func ByteCountIEC(b int64) string

ByteCountIEC returns formatted byte count. Grabbed from https://yourbasic.org/golang/formatting-byte-size-to-human-readable-format/.

func FormatVMDate

func FormatVMDate(date string) (time.Time, error)

FormatVMDate returns parsed time from VM API

Types

This section is empty.

Jump to

Keyboard shortcuts

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