measure

package
Version: v0.0.0-...-b2c3d2c Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gigabytes

type Gigabytes float64

func GigabytesFromString

func GigabytesFromString(size string) Gigabytes

string such as "10 MB" or "5 GB" to gigs

func (Gigabytes) String

func (gb Gigabytes) String() string

func (Gigabytes) ToMegabytes

func (gb Gigabytes) ToMegabytes() Megabytes

type Gigahertz

type Gigahertz float64

func GigahertzFromString

func GigahertzFromString(freq string) Gigahertz

func (Gigahertz) String

func (ghz Gigahertz) String() string

func (Gigahertz) ToMegahertz

func (ghz Gigahertz) ToMegahertz() Megahertz

type Megabytes

type Megabytes float64

func MegabytesFromString

func MegabytesFromString(size string) Megabytes

string such as "10 MB" or "1 GB" to mb

func (Megabytes) String

func (mb Megabytes) String() string

func (Megabytes) ToGigabytes

func (mb Megabytes) ToGigabytes() Gigabytes

type Megahertz

type Megahertz float64

func MegahertzFromString

func MegahertzFromString(freq string) Megahertz

func (Megahertz) String

func (mhz Megahertz) String() string

func (Megahertz) ToGigahertz

func (mhz Megahertz) ToGigahertz() Gigahertz

Jump to

Keyboard shortcuts

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