tempconv

package
v0.0.0-...-c4986e2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2018 License: MIT 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

Celsius represent scale degree Celsius.

func CelsiusFlag

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

CelsiusFlag parses Celsius temperature from command line.

func FToC

func FToC(f Fahrenheit) Celsius

FToC converts Fahrenheit to Celsius.

func KToC

func KToC(k Kelvin) Celsius

KToC converts Kelvin to Celsius.

func (Celsius) String

func (c Celsius) String() string

type Fahrenheit

type Fahrenheit float64

Fahrenheit represent scale degree Fahrenheit.

func CToF

func CToF(c Celsius) Fahrenheit

CToF converts Celsius to Fahrenheit.

type Kelvin

type Kelvin float64

Kelvin represent scale degree Kelvin.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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