weightconv

package
v0.0.0-...-94c99f4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package weightconv performs pounds and kilograms conversions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kilogram

type Kilogram float64

func PToK

func PToK(p Pound) Kilogram

PToK converts a weight in pounds to kilograms.

func (Kilogram) String

func (kg Kilogram) String() string

type Pound

type Pound float64

func KToP

func KToP(kg Kilogram) Pound

KToP converts a weight in kilograms to pounds.

func (Pound) String

func (p Pound) String() string

Jump to

Keyboard shortcuts

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