Skip to content

Instantly share code, notes, and snippets.

@Adron
Created Feb 6, 2019
Embed
What would you like to do?
Using the Temperature Package
package main
import (
"fmt"
tempconv "github.com/Adron/awesomeProject/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.Println(boilingF)
fmt.Printf("%g\n", boilingF)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment