Below you will see the contents of the file calculator.go within the calculator package.
package calculator
const Greeting = "Hello, I am a calculator created in Go!"
func Sum(a float64, b float64) float64 {
return a + b
}
func Subtract(a float64, b float64) float64 {
return a - b
}
We have imported the calculator package into our main.go file. What functions and variables from the calculator package can we use now?