Documentation ¶
Index ¶
Constants ¶
View Source
const ( KB MB GB TB PB )
Variables ¶
View Source
var ( ErrBadByteSize = errors.New("invalid bytesize") ErrBadByteSizeUnit = errors.New("invalid bytesize unit") )
Functions ¶
Types ¶
type Int64 ¶
type Int64 int64
func (Int64) HumanString ¶
func (Int64) MarshalText ¶
func (*Int64) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.