units

package
v0.0.0-...-49a0fbc Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Units

type Units struct {
	// contains filtered or unexported fields
}

Units does conversions for physical units.

func New

func New() (*Units, error)

New returns a new instance of Units.

func (*Units) Dump

func (u *Units) Dump() ([]byte, error)

Dump is not implemented in this package.

func (*Units) Query

func (u *Units) Query(q string) ([]string, error)

Query parses a unit conversion string and returns the results.

Jump to

Keyboard shortcuts

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