tempconv

package
v0.0.0-...-d153a89 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Celsius

type Celsius float64
const (
	AbsoluteZeroC Celsius = -273.15
	FreezingC     Celsius = 0
	BoilingC      Celsius = 100
)

func CelsiusFlag

func CelsiusFlag(name string, value Celsius, usage string) *Celsius

func FToC

func FToC(f Fahrenheit) Celsius

func KToC

func KToC(k Kelvin) Celsius

func (Celsius) String

func (c Celsius) String() string

type Fahrenheit

type Fahrenheit float64

func CToF

func CToF(c Celsius) Fahrenheit

func KToF

func KToF(k Kelvin) Fahrenheit

func (Fahrenheit) String

func (f Fahrenheit) String() string

type Kelvin

type Kelvin float64

func CToK

func CToK(c Celsius) Kelvin

func FToK

func FToK(f Fahrenheit) Kelvin

func KelvinFlag

func KelvinFlag(name string, value Kelvin, usage string) *Kelvin

func (Kelvin) String

func (k Kelvin) String() string

Jump to

Keyboard shortcuts

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