units

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unit

type Unit interface {
	//String returns a string representation of the unit.
	String() string

	//Unit returns both the quantity and a unit reference.
	Measure() (quantity float64, reference string)
}

Unit is a type of unit.

Directories

Path Synopsis
of

Jump to

Keyboard shortcuts

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