Skip to content

Instantly share code, notes, and snippets.

Created Feb 6, 2019
What would you like to do?
Using the Temperature Package
package main
import (
tempconv ""
func main() {
fmt.Println("Temperatures are hard to figure off the top of one's mind!")
boilingF := tempconv.CelsiusToFahrenheit(BoilingC)
fmt.Printf("%v\n", boilingF)
fmt.Printf("%s\n", boilingF)
fmt.Printf("%g\n", boilingF)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment